synchronized
Declares that all object (or category) predicates and non-terminals will be synchronized (i.e. all predicates and non-terminals will use the same mutex for thread synchronization). Synchronized predicates and non-terminals are silently compiled as normal predicates and normal non-terminals on Prolog compilers that don't support multi-threading programming.
synchronized
:- synchronized.