try pthread_mutex_trylock