Home | History | Annotate | Download | only in libpthread

Lines Matching refs:RZ

103 	RZ(pthread_join(*tp, &result));
541 RZ(pthread_cond_init(&cond, NULL));
542 RZ(pthread_mutex_init(&mutex, NULL));
544 RZ(pthread_mutex_lock(&mutex));
545 RZ(pthread_cond_clockwait(&cond, &mutex, CLOCK_MONOTONIC, &t));
546 RZ(pthread_mutex_unlock(&mutex));
561 RZ(pthread_cond_init(&cond, NULL));
562 RZ(pthread_mutex_init(&mutex, NULL));
564 RZ(pthread_mutex_lock(&mutex));
565 RZ(pthread_cond_timedwait(&cond, &mutex, &t));
566 RZ(pthread_mutex_unlock(&mutex));
575 RZ(pthread_cond_init(&cond, NULL));
576 RZ(pthread_mutex_init(&mutex, NULL));
578 RZ(pthread_mutex_lock(&mutex));
579 RZ(pthread_cond_wait(&cond, &mutex));
580 RZ(pthread_mutex_unlock(&mutex));
588 RZ(pthread_create(&t, NULL, &emptythread, NULL));
591 RZ(pthread_join(t, NULL));
979 RZ(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL));
984 RZ(pthread_cancel(pthread_self())); /* cancel */
986 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
989 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL));
1008 RZ(pthread_create(&t, NULL, &cancelself_async, &n));
1011 RZ(pthread_join(t, NULL));
1030 RZ(pthread_cancel(pthread_self()));
1032 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
1036 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL));
1056 RZ(pthread_create(&t, NULL, &cancelself_deferred, &n));
1059 RZ(pthread_join(t, NULL));
1072 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &state));
1073 RZ(pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &type));
1099 RZ(pthread_create(&t, NULL, &defaults, NULL));
1102 RZ(pthread_join(t, NULL));
1115 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
1125 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL));
1145 RZ(pthread_barrier_init(&bar, NULL, 2));
1147 RZ(pthread_create(&t, NULL, &disable_enable, &n));
1150 RZ(pthread_cancel(t));
1154 RZ(pthread_join(t, NULL));
1164 RZ(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL));
1186 RZ(pthread_barrier_init(&bar, NULL, 2));
1187 RZ(pthread_create(&t, NULL, &notestcancel_loop_async, NULL));
1190 RZ(pthread_cancel(t));
1195 RZ(pthread_join(t, &result));
1208 RZ(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL));
1213 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
1223 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)); /* cancel */
1243 RZ(pthread_barrier_init(&bar, NULL, 2));
1245 RZ(pthread_create(&t, NULL, &disable_enable_async, &n));
1248 RZ(pthread_cancel(t));
1252 RZ(pthread_join(t, NULL));
1268 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
1278 RZ(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL));
1282 RZ(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)); /* cancel */
1302 RZ(pthread_barrier_init(&bar, NULL, 2));
1304 RZ(pthread_create(&t, NULL, &disable_enable_setcanceltype_async, &n));
1307 RZ(pthread_cancel(t));
1311 RZ(pthread_join(t, NULL));
1331 RZ(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS,
1350 RZ(pthread_barrier_init(&bar, NULL, 2));
1352 RZ(pthread_create(&t, NULL, &setcanceltype_async, &n));
1355 RZ(pthread_cancel(t));
1359 RZ(pthread_join(t, NULL));
1370 RZ(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &state));
1371 RZ(pthread_setcancelstate(state, NULL));
1390 RZ(pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, NULL));
1391 RZ(pthread_getname_np(pthread_self(), name, sizeof(name)));
1392 RZ(pthread_setname_np(pthread_self(), "%s", name));
1411 RZ(pthread_barrier_init(&bar, NULL, 2));
1412 RZ(pthread_create(&t, NULL, &sigsafecancelstate, &n));
1424 RZ(pthread_join(t, &result));
1453 RZ(pthread_barrier_init(&bar, NULL, 2));
1454 RZ(pthread_create(&t, NULL, &testcancel_loop, NULL));
1457 RZ(pthread_cancel(t));
1460 RZ(pthread_join(t, &result));