pthread_mutex_init (3) - Linux manual page - man7.org
6 天前 · A thread attempting to lock a mutex that is already locked by another thread is suspended until the owning thread unlocks the mutex first. pthread_mutex_init () initializes the mutex object pointed to …