Defined in header
int thrd_join( thrd_t thr, int *res );
Blocks the current thread until the thread identified by
thr finishes execution.
The result code of the thread is put to the location pointed to by
|thr||-||identifier of the thread to join|
|res||-||location to put the result code to|