thread_property/3¶
thread_property(? Id, ? Property)*
Enumerates the properties of the specified thread. Calling thread_property//22 does not influence any thread. See also thread_join//22. For threads that have an alias-name, this name can be used in Id instead of the numerical thread identifier. Property is one of:
-
status( Status) The thread status of a thread (see below).
-
alias( Alias) The thread alias, if it exists.
-
at_exit( AtExit) The thread exit hook, if defined (not available if the thread is already terminated).
-
detached( Boolean) The detached state of the thread.
-
stack( Size) The thread stack data-area size.
-
trail( Size) The thread trail data-area size.
-
system( Size) The thread system data-area size.