Availability:built-in
set_thread(+Thread,
+Property)Set a property for Thread. The currently defined properties
are below.
- alias(+Atom)
- Set the alias name of the thread. An error is raised if Thread
already has an alias or Alias is in use for a thread or
message queue.
- debug(+Bool)
- Set whether Thread can be debugged. See also thread_create/3
and thread_property/2.
- debug_mode(+Bool)
- Set or clear the Prolog flag debug
in Thread
- class(+Atom)
- Set the class of Thread. This may enable or disable
the debug mode of the thread depending on whether or not debug mode is
enabled for the specified thread class.