Home | History | Annotate | Download | only in sys

Lines Matching defs:helper

174 	pthread_t helper;
181 ATF_REQUIRE(pthread_create(&helper, NULL,
185 * Wait for the helper to block in read(). Give it some time
194 /* Write a distinct value; helper will assert it. */
197 /* Wait for helper to read the value. */
200 /* Helper is now blocked in a barrier. */
206 /* Satisfy the barrier; helper will read value and assert 0xbeefcafe. */
212 /* Reap the helper. */
213 ATF_REQUIRE(pthread_join(helper, &join_val) == 0);
504 pthread_t helper;
512 ATF_REQUIRE(pthread_create(&helper, NULL,
517 * Wait for the helper to block in poll(). Give it some time
527 * and unblocks the helper waiting in poll().
532 * Ensure the helper woke from the poll() call.
538 * Wait for the helper to block in poll(), this time waiting
554 * Ensure that the helper woke from the poll() call.
560 * Wait for the helper to block in select(), waiting for readability.
569 * and unblocks the helper waiting in select().
575 * Ensure the helper woke from the select() call.
581 * Wait for the helper to block in select(), this time waiting
597 * Ensure that the helper woke from the select() call.
603 * Wait for the helper to block in kevent(), waiting for readability.
612 * and unblocks the helper waiting in kevent().
618 * Ensure the helper woke from the kevent() call.
624 * Wait for the helper to block in kevent(), this time waiting
640 * Ensure that the helper woke from the kevent() call.
645 /* Reap the helper. */
646 ATF_REQUIRE(pthread_join(helper, &join_val) == 0);
691 pthread_t helper;
698 ATF_REQUIRE(pthread_create(&helper, NULL,
702 * Wait for the helper to block in read(). Give it some time
717 * Ensure that the helper woke from the read() call.
722 /* Reap the helper. */
723 ATF_REQUIRE(pthread_join(helper, &join_val) == 0);