ref: 1686505db9e1c0c0f705a37e79576938f655823f dir: /libnpe_pthread/pthread_join.c/
#include "_pthread.h" int pthread_join(pthread_t pt, void **res) { if(pt->waitchan != nil) recv(pt->waitchan, res); return 0; }