Logtalk reference manual
Entity directive: threaded/0

threaded/0

Description

threaded

Declares that an entity support asynchronous messages. Any object containing calls to the predicates threaded_call/1-2 or threaded_exit/1-2 must contain this directive.

Template and modes

threaded

Examples

:- threaded.