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

thread_exit(+Term)

Exit the executing DTR-thread with status exited(Term)
Term
A term

Description

This compatibility predicate executes exit(3) and stores Term such that the result status exited(Term) can be retrieved via thread_join/2 or thread_property/2.

See Also

exit / 1, thread_join / 2, thread_property / 2