replace PTHREAD_MUTEX_RECURSIVE_NP -> PTHREAD_MUTEX_RECURSIVE