implemented pthread_mutex_t