
thread_exit(+Term)

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

Arguments
   Term                A term

Type
   library(threads)

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
