pthread_mutex_t mutex; pthread_mutex_init(&mutex, NULL);