threaded_notify(Term) threaded_notify([Term| Terms])
Sends Term
as a notification to any thread suspended waiting for it in order 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. The argument may also be a list of notifications, [Term| Terms]
. In this case, all notifications in the list will be sent to any threads suspended waiting for them in order to proceed.
threaded_notify(@term) threaded_notify(@list(term))
(none)
data_available
:threaded_notify(data_available)