[ library(threads) | Reference Manual | Alphabetic Index ]

# thread_property(?Thread, ?Property)

Enumerates threads and their properties

Thread
  A thread/engine handle or DTR-thread alias, or variable
Property
  Variable or compound term

## Description

If Thread is a thread/engine handle, enumerates the thread/engine's properties and unifies them with Property. If Thread is a variable, enumerates all currently existing thread/engines and their properties. The properties are as defined in get_engine_property/3, plus the alias(Name) option from thread_create/3.

### Modes and Determinism

- thread_property(-, -) is multi
- thread_property(+, -) is multi
- thread_property(+, ++) is semidet

## See Also

get_engine_property / 3, thread_create / 3