Home
last modified time | relevance | path

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

/haiku/src/bin/
H A Dbt_discovery.cpp16 thread_id mainThread; variable
51 (void)send_data(mainThread, discType, NULL, 0); in InquiryCompleted()
111 mainThread = find_thread(NULL); in main()
/haiku/src/tests/system/libroot/posix/
H A Dsignal_in_allocator_test2.cpp24 thread_id mainThread = teamInfo.team; in signal_pusher() local
27 send_signal(mainThread, SIGUSR1); in signal_pusher()
H A Dsignal_in_allocator_test.cpp24 thread_id mainThread = teamInfo.team; in signal_pusher() local
27 send_signal(mainThread, SIGUSR1); in signal_pusher()
/haiku/src/system/kernel/
H A Dsignal.cpp1431 Thread* mainThread = thread->team->main_thread; in send_signal_to_thread_locked() local
1432 if (mainThread != NULL && mainThread != thread) { in send_signal_to_thread_locked()
1433 mainThread->AddPendingSignal(SIGKILLTHR); in send_signal_to_thread_locked()
1438 SpinLocker locker(mainThread->scheduler_lock); in send_signal_to_thread_locked()
1439 if (mainThread->state == B_THREAD_SUSPENDED) in send_signal_to_thread_locked()
1440 scheduler_enqueue_in_run_queue(mainThread); in send_signal_to_thread_locked()
1442 thread_interrupt(mainThread, true); in send_signal_to_thread_locked()
1445 update_thread_signals_flag(mainThread); in send_signal_to_thread_locked()
1656 Thread* mainThread = team->main_thread; in send_signal_to_team_locked() local
1657 if (mainThread != NULL) { in send_signal_to_team_locked()
[all …]
H A Dteam.cpp1760 Thread* mainThread; in load_image_internal() local
1761 status = Thread::Create(threadName, mainThread); in load_image_internal()
1764 BReference<Thread> mainThreadReference(mainThread, true); in load_image_internal()
1767 Team* team = Team::Create(mainThread->id, path, false); in load_image_internal()
1876 threadName, B_NORMAL_PRIORITY, teamArgs, teamID, mainThread); in load_image_internal()
1896 if (mainThread != NULL) { in load_image_internal()
1898 thread_continue(mainThread); in load_image_internal()
/haiku/src/servers/launch/
H A DJob.cpp691 thread_id mainThread = -1; in _Launch() local
693 args, environment, &fTeam, &mainThread, &fDefaultPort, NULL, true); in _Launch()
698 resume_thread(mainThread); in _Launch()
703 kill_thread(mainThread); in _Launch()