Searched refs:mainThread (Results 1 - 6 of 6) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dsignal_in_allocator_test2.cpp24 thread_id mainThread = teamInfo.team; local
27 send_signal(mainThread, SIGUSR1);
H A Dsignal_in_allocator_test.cpp24 thread_id mainThread = teamInfo.team; local
27 send_signal(mainThread, SIGUSR1);
/haiku/src/bin/
H A Dbt_discovery.cpp16 thread_id mainThread; variable
51 (void)send_data(mainThread, discType, NULL, 0);
111 mainThread = find_thread(NULL);
/haiku/src/system/kernel/
H A Dsignal.cpp1430 Thread* mainThread = thread->team->main_thread; local
1431 if (mainThread != NULL && mainThread != thread) {
1432 mainThread->AddPendingSignal(SIGKILLTHR);
1437 SpinLocker locker(mainThread->scheduler_lock);
1438 if (mainThread->state == B_THREAD_SUSPENDED)
1439 scheduler_enqueue_in_run_queue(mainThread);
1441 thread_interrupt(mainThread, true);
1444 update_thread_signals_flag(mainThread);
1655 Thread* mainThread local
[all...]
H A Dteam.cpp1760 Thread* mainThread; local
1761 status = Thread::Create(threadName, mainThread);
1764 BReference<Thread> mainThreadReference(mainThread, true);
1767 Team* team = Team::Create(mainThread->id, path, false);
1874 threadName, B_NORMAL_PRIORITY, teamArgs, teamID, mainThread);
1890 if (mainThread != NULL) {
1892 thread_continue(mainThread);
/haiku/src/servers/launch/
H A DJob.cpp691 thread_id mainThread = -1;
693 args, environment, &fTeam, &mainThread, &fDefaultPort, NULL, true);
698 resume_thread(mainThread);
703 kill_thread(mainThread);

Completed in 72 milliseconds