no need for pthread_cleanup_ pair when THREADWAIT_METHOD == THREADWAIT_CONDVAR