Lines Matching defs:threads
1816 * assumes that, if both threads are able to run, the main
1914 * assumes that, if both threads are able to run, the main
2615 /* Sync up threads after swapping signal masks. */
2663 /* Sync up threads after swapping signal masks. */
2793 * threads compete.
2855 * different threads, the SIGKILL must win. There are two variants of this
2962 pthread_t threads[2];
2964 CHILD_REQUIRE(pthread_create(&threads[0], NULL, continue_thread,
2966 CHILD_REQUIRE(pthread_create(&threads[1], NULL, continue_thread,
2968 CHILD_REQUIRE(pthread_join(threads[0], NULL) == 0);
2969 CHILD_REQUIRE(pthread_join(threads[1], NULL) == 0);
3007 /* One of the new threads should report it's birth. */
3019 * Suspend this thread to ensure both threads are alive before
3038 /* Resume both threads waiting for breakpoint events. */
3060 * Resume both threads but pass the other thread's LWPID to
3100 /* Both threads should have exited. */