Lines Matching refs:pma
91 pthread_mutexattr_t *pma[5];
133 pma[i] = &ma[i];
134 ret = pthread_mutexattr_init(pma[i]);
139 pma[4] = NULL;
141 if ((ret = pthread_mutexattr_settype(pma[0], PTHREAD_MUTEX_NORMAL))) {
144 if ((ret = pthread_mutexattr_settype(pma[0], PTHREAD_MUTEX_DEFAULT))) {
147 if ((ret = pthread_mutexattr_settype(pma[0], PTHREAD_MUTEX_RECURSIVE))) {
150 if ((ret = pthread_mutexattr_settype(pma[0], PTHREAD_MUTEX_ERRORCHECK))) {
201 retini[i] = pthread_mutex_init(&mtx, pma[i]);
218 pthread_mutexattr_destroy(pma[i]);