fixed PTHREAD_PRIO_INHERIT