Fix a bug in pthread_mutex_unlock; initialize mutex if necessary when pthread_mutex_t...