Lines Matching defs:thread
32 " --thread - crash in a separate thread\n"
223 } else if (strcmp(arg, "--thread") == 0) {
259 thread_id thread = spawn_thread(crashing_thread, "crashing thread",
261 if (thread < 0) {
262 fprintf(stderr, "Error: Failed to spawn thread: %s\n",
263 strerror(thread));
267 resume_thread(thread);
274 while (wait_for_thread(thread, &result) == B_INTERRUPTED) {