fixed PTHREAD_MUTEX_ROBUST