Lines Matching refs:pma
156 pthread_mutexattr_t ma[4], *pma[5];
179 pma[4] = NULL;
182 pma[i] = &ma[i];
183 if ((ret = pthread_mutexattr_init(pma[i]))) {
189 if ((ret = pthread_mutexattr_settype(pma[0], PTHREAD_MUTEX_NORMAL))) {
192 if ((ret = pthread_mutexattr_settype(pma[1], PTHREAD_MUTEX_ERRORCHECK))) {
195 if ((ret = pthread_mutexattr_settype(pma[2], PTHREAD_MUTEX_RECURSIVE))) {
198 if ((ret = pthread_mutexattr_settype(pma[3], PTHREAD_MUTEX_DEFAULT))) {
213 ret = pthread_mutex_init(&m[i], pma[i]);
259 if ((ret = pthread_mutexattr_destroy(pma[i]))) {