最終更新:2018-01-18 (木) 12:07:42 (2280d)  

pthread_mutex_init
Top / pthread_mutex_init

int pthread_mutex_init(pthread_mutex_t *mutex, pthread_mutexattr_t *attr);

PTHREAD_MUTEX_INITIALIZER

  • The effect is equivalent to dynamic initialisation by a call to pthread_mutex_init() with parameter attr specified as NULL, except that no error checks are performed.