/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-5.c | 106 pthread_cond_t cnd; /* The cond var c */ member in struct:_td 136 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1)); 138 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), &ts); 163 ret = pthread_cond_wait(&(data.cnd), &(data.mtx2)); 165 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2), &ts); 282 ret = pthread_cond_init(&(data.cnd), &ca); 322 ret = pthread_cond_broadcast(&(data.cnd)); 323 if (ret != 0) { UNRESOLVED(ret, "Unable to broadcast cnd"); } 344 ret = pthread_cond_destroy(&(data.cnd));
|
H A D | 2-6.c | 92 pthread_cond_t cnd; member in struct:__anon5973 184 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx), &ts); 302 ret = pthread_cond_init(&(data.cnd), &ca); 374 ret = pthread_cond_destroy(&(data.cnd));
|
H A D | 2-4.c | 102 pthread_cond_t cnd; member in struct:__anon5971 187 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts); 432 ret = pthread_cond_init(&(td->cnd), &ca); 514 ret = pthread_cond_signal(&(td->cnd)); 572 ret = pthread_cond_destroy(&(td->cnd));
|
H A D | 2-7.c | 103 pthread_cond_t cnd; member in struct:__anon5975 194 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts); 438 ret = pthread_cond_init(&(td->cnd), &ca); 578 ret = pthread_cond_destroy(&(td->cnd));
|
H A D | 4-2.c | 199 pthread_cond_t cnd; local 377 ret = pthread_cond_init(&cnd, &ca); 461 ret = pthread_cond_timedwait(&cnd, &(td->mtx), &ts_junk); 531 ret = pthread_cond_destroy(&cnd);
|
H A D | 4-3.c | 109 pthread_cond_t cnd; member in struct:__anon5979 187 ret = pthread_cond_timedwait(&(data.cnd),&(data.mtx),&ts); 236 ret = pthread_cond_signal(&(data.cnd));
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | 2-1.c | 174 pthread_cond_t cnd; member in struct:__anon5961 211 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); 213 ret = pthread_cond_wait(&td->cnd, &td->mtx1); 250 ret = pthread_cond_timedwait(&td->cnd, &td->mtx2, &ts); 252 ret = pthread_cond_wait(&td->cnd, &td->mtx2); 448 ret = pthread_cond_init(&td->cnd, &ca); 514 ret = pthread_cond_broadcast(&td->cnd); 521 ret = pthread_cond_destroy(&td->cnd); 525 memset(&td->cnd, 0xFF, sizeof(pthread_cond_t)); 551 ret = pthread_cond_init(&td->cnd, [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_mutex_lock/ |
H A D | s-c1.c | 102 pthread_cond_t cnd;
variable 158 ret = pthread_cond_signal(&cnd);
196 /* Init the cnd */
200 ret = pthread_cond_init(&cnd, NULL);
202 { UNRESOLVED(ret, "Unable to initialize 'cnd'"); }
279 /* wait for cnd */
280 do { ret = pthread_cond_wait(&cnd, &m); }
283 { UNRESOLVED(ret, "Unable to wait for 'cnd'"); }
303 ret = pthread_cond_destroy(&cnd);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_init/ |
H A D | s-c.c | 93 pthread_cond_t cnd[10 * SCALABILITY_FACTOR];
member in struct:_teststruct 189 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
192 ret = pthread_cond_destroy(&(cur->cnd[i]));
195 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
198 ret = pthread_cond_destroy(&(cur->cnd[i]));
201 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
246 ret = pthread_cond_destroy(&(cur->cnd[i]));
|
H A D | stress.c | 88 pthread_cond_t cnd;
local 103 pcnd = &cnd;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_timedwait/ |
H A D | stress1.c | 183 pthread_cond_t cnd; member in struct:childdata 211 ret = pthread_cond_broadcast(&(cd->cnd)); 219 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 228 ret = pthread_cond_broadcast(&(cd->cnd)); 277 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 284 ret = pthread_cond_signal(&(cd->cnd)); 531 ret = pthread_cond_init(&(CD.cnd), &ca); 591 ret = pthread_cond_destroy(&(td->cd[i].cnd));
|
H A D | s-c.c | 110 pthread_cond_t *cnd;
member in struct:__anon6005 160 * This function will do a timedwait on the cond cnd after locking mtx.
164 void do_measure(pthread_mutex_t *mtx, pthread_cond_t *cnd, clockid_t cid, struct timespec *ts)
argument 187 rc = pthread_cond_timedwait(cnd, mtx, &ts_cnd);
233 do { ret = pthread_cond_wait(dt->cnd, dt->mtx); }
267 pthread_cond_t cnd;
local 277 td.cnd = &cnd;
334 ret = pthread_cond_init(&cnd, &ca);
357 ret = pthread_cond_broadcast(&cnd);
[all...] |
H A D | stress2.c | 163 pthread_cond_t cnd; member in struct:celldata 213 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 226 ret = pthread_cond_broadcast(&(cd->cnd)); 256 ret = pthread_cond_signal(&(cd->cnd)); 468 ret = pthread_cond_init(&(cells[i + j * NSCENAR].cnd), &ca); 536 ret = pthread_cond_destroy(&(cells[i].cnd));
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_wait/ |
H A D | stress1.c | 184 pthread_cond_t cnd; member in struct:childdata 210 ret = pthread_cond_broadcast(&(cd->cnd)); 215 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); 220 ret = pthread_cond_broadcast(&(cd->cnd)); 264 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); 267 ret = pthread_cond_signal(&(cd->cnd)); 521 ret = pthread_cond_init(&(CD.cnd), &ca); 583 ret = pthread_cond_destroy(&(td->cd[i].cnd));
|
H A D | stress.c | 163 pthread_cond_t cnd; member in struct:celldata 213 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 226 ret = pthread_cond_broadcast(&(cd->cnd)); 256 ret = pthread_cond_signal(&(cd->cnd)); 468 ret = pthread_cond_init(&(cells[i + j * NSCENAR].cnd), &ca); 536 ret = pthread_cond_destroy(&(cells[i].cnd));
|
H A D | stress2.c | 163 pthread_cond_t cnd; member in struct:celldata 213 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); 226 ret = pthread_cond_broadcast(&(cd->cnd)); 256 ret = pthread_cond_signal(&(cd->cnd)); 468 ret = pthread_cond_init(&(cells[i + j * NSCENAR].cnd), &ca); 536 ret = pthread_cond_destroy(&(cells[i].cnd));
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | 1-2.c | 172 pthread_cond_t cnd; member in struct:__anon5968 208 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); 210 ret = pthread_cond_wait(&td->cnd, &td->mtx); 222 ret = pthread_cond_signal(&td->cnd); 399 ret = pthread_cond_init(&td->cnd, &ca); 473 ret = pthread_cond_signal(&td->cnd); 539 ret = pthread_cond_destroy(&td->cnd);
|
H A D | 4-2.c | 105 pthread_cond_t cnd; member in struct:__anon5970 170 ret = pthread_cond_wait(&(data.cnd),&(data.mtx)); 198 ret = pthread_cond_signal(&(data.cnd));
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 4-2.c | 105 pthread_cond_t cnd; member in struct:__anon5960 170 ret = pthread_cond_wait(&(data.cnd),&(data.mtx)); 197 ret = pthread_cond_broadcast(&(data.cnd));
|
H A D | 1-2.c | 185 pthread_cond_t cnd; member in struct:__anon5954 221 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); 223 ret = pthread_cond_wait(&td->cnd, &td->mtx); 444 ret = pthread_cond_init(&td->cnd, &ca); 567 ret = pthread_cond_broadcast(&td->cnd); 632 ret = pthread_cond_destroy(&td->cnd);
|
H A D | 2-3.c | 172 pthread_cond_t cnd; member in struct:__anon5956 218 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); 220 ret = pthread_cond_wait(&td->cnd, &td->mtx); 434 ret = pthread_cond_init(&td->cnd, &ca); 505 ret = pthread_cond_broadcast(&td->cnd); 567 ret = pthread_cond_destroy(&td->cnd);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/ |
H A D | 4-1.c | 93 pthread_cond_t cnd; local 209 retini[i] = pthread_cond_init(&cnd, pca[i]); 211 retdtr[i] = pthread_cond_destroy(&cnd);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | ppcobsd-nat.c | 85 ppcobsd_reg_offsets.cr_offset = offsetof (struct reg, cnd);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_wait/ |
H A D | 2-3.c | 92 pthread_cond_t cnd; member in struct:__anon5981 177 ret = pthread_cond_wait(&(data.cnd), &(data.mtx)); 295 ret = pthread_cond_init(&(data.cnd), &ca); 360 ret = pthread_cond_destroy(&(data.cnd));
|
H A D | 2-2.c | 101 pthread_cond_t cnd; member in struct:__anon5980 172 ret = pthread_cond_wait(&(td->cnd), &(td->mtx)); 417 ret = pthread_cond_init(&(td->cnd), &ca); 499 ret = pthread_cond_signal(&(td->cnd)); 557 ret = pthread_cond_destroy(&(td->cnd));
|