Logtalk reference manual
Built-in predicate: threaded_notify/1

threaded_notify/1

Description

threaded_notify(Term)

Sends Term as a notification to any thread suspended waiting for it to proceed. The call must be made within the same object (this) containing the calls to the threaded_wait/1 predicate waiting for the notification.

Template and modes

threaded_notify(@term)

Errors

(none)

Examples

Send the notification data_avaialble:
threaded_notify(data_avaialble)