ref: 237831f5ec11e7bb6da2961c1e5f5bc0c3610347
dir: /libnpe_pthread/_pthread.h/
#include <npe.h> #include <pthread.h> #include <thread.h> struct pthread_attr_t { unsigned stack_size; }; struct pthread_cond_t { Rendez; QLock lock; }; struct pthread_once_t { QLock; int done; }; struct pthread_mutex_t { QLock; }; struct npe_pthread_t { void *waitchan; void *(*func)(void*); void *arg; int pid; };