In all the pthread documentation ("all" meaning "the few and sparse") it says that a program should define _MULTI_THREADED before any other C code. After which, having included pthread.h and sched.h, why, oh why are "PTHREAD_STATUS_EXIT_NP" and "PTHREAD_STATUS_ACTIVE_NP" undefined symbols?
According to docs:
int pthread_test_exit_np(void **status);
Retrieve the current exit status of the thread. Returns one of PTHREAD_STATUS_ACTIVE_NP or PTHREAD_STATUS_EXIT_NP, sets the status if PTHREAD_STATUS_EXIT_NP is returned.
Anyone? Where are these symbols defined?
one frustrated mofo