Availability:built-in
thread_join(+Id)Calls thread_join/2
and succeeds if thread Id terminated with success. Otherwise
the exception
error(thread_error(Id, Status), _) is raised,
where
Status is the status as returned by thread_join/2.
- Enhanced in 8.1.11 (👉5dcd79d) thread_join/1: better error message. Also, the error term got an extra argument providing the thread that failed.