Searched refs:thread (Results 251 - 275 of 475) sorted by relevance

<<111213141516171819

/haiku/src/apps/haikudepot/ui/
H A DScreenshotWindow.cpp210 thread_id thread = spawn_thread(&_DownloadThreadEntry, local
212 if (thread >= 0)
213 _SetWorkerThread(thread);
218 ScreenshotWindow::_SetWorkerThread(thread_id thread) argument
223 // bool enabled = thread < 0;
229 if (thread >= 0) {
230 fWorkerThread = thread;
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86VMTranslationMap32Bit.cpp17 #include <thread.h>
187 Thread* thread = thread_get_current_thread(); local
188 ThreadCPUPinner pinner(thread);
232 Thread* thread = thread_get_current_thread(); local
233 ThreadCPUPinner pinner(thread);
284 Thread* thread = thread_get_current_thread(); local
285 ThreadCPUPinner pinner(thread);
365 // processors (actually even this processor with another thread of the
415 Thread* thread = thread_get_current_thread(); local
416 ThreadCPUPinner pinner(thread);
624 Thread* thread = thread_get_current_thread(); local
722 Thread* thread = thread_get_current_thread(); local
781 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMVMTranslationMap32Bit.cpp18 #include <thread.h>
202 Thread* thread = thread_get_current_thread(); local
203 ThreadCPUPinner pinner(thread);
247 Thread* thread = thread_get_current_thread(); local
248 ThreadCPUPinner pinner(thread);
300 Thread* thread = thread_get_current_thread();
301 ThreadCPUPinner pinner(thread);
382 // processors (actually even this processor with another thread of the
432 Thread* thread = thread_get_current_thread(); local
433 ThreadCPUPinner pinner(thread);
641 Thread* thread = thread_get_current_thread(); local
719 Thread* thread = thread_get_current_thread(); local
806 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/src/kits/debugger/controllers/
H A DDebugReportGenerator.cpp457 ::Thread* thread; local
459 (thread = it.Next());) {
460 threads.AddItem(thread);
461 thread->AcquireReference();
466 for (int32 i = 0; (thread = threads.ItemAt(i)) != NULL; i++) {
468 data.SetToFormat("\tthread %" B_PRId32 ": %s %s\n", thread->ID(),
469 thread->Name(), thread->IsMainThread()
473 if (thread->State() == THREAD_STATE_STOPPED) {
475 UiUtils::ThreadStateToString(thread
505 _DumpDebuggedThreadInfo(BFile& _output, ::Thread* thread) argument
[all...]
H A DTeamDebugger.cpp153 ImageInfoPendingThread(image_id image, thread_id thread) argument
156 fThread(thread)
292 ImageInfoPendingThread* thread = fImageInfoPendingThreads->Clear(true); local
293 while (thread != NULL) {
294 ImageInfoPendingThread* next = thread->fNext;
295 delete thread;
296 thread = next;
396 // init thread handler table
476 ::Thread* thread; local
477 error = fTeam->AddThread(*info, &thread);
841 ::Thread* thread; local
1305 ExpressionEvaluationRequested(SourceLanguage* language, ExpressionInfo* info, StackFrame* frame, ::Thread* thread) argument
1688 ::Thread* thread = fTeam->ThreadByID(event->Thread()); local
1765 ::Thread* thread; local
1785 ::Thread* thread = fTeam->ThreadByID(event->RenamedThread()); local
1978 ImageInfoPendingThread* thread = fImageInfoPendingThreads local
2331 _HandleEvaluateExpression(SourceLanguage* language, ExpressionInfo* info, StackFrame* frame, ::Thread* thread) argument
[all...]
/haiku/src/system/kernel/
H A Dsyscalls.cpp47 #include <thread.h>
199 // dprintf("syscall_dispatcher: thread 0x%x call 0x%x, arg0 0x%x, arg1 0x%x arg2 0x%x arg3 0x%x arg4 0x%x\n",
560 bool _AddPendingThread(thread_id thread) argument
562 int32 index = _PendingThreadIndex(thread);
571 fPendingThreads[fPendingThreadCount++] = thread;
575 bool _RemovePendingThread(thread_id thread) argument
577 int32 index = _PendingThreadIndex(thread);
590 bool _IsPendingThread(thread_id thread) argument
592 return _PendingThreadIndex(thread) >= 0;
595 int32 _PendingThreadIndex(thread_id thread) argument
[all...]
H A Dsem.cpp34 #include <thread.h>
74 queued_thread(Thread *thread, int32 count) argument
76 thread(thread),
82 Thread *thread; member in struct:queued_thread
188 kprintf(" %" B_PRId32, entry->thread->id);
334 thread_unblock(entry->thread, B_BAD_SEM_ID);
372 dprintf("thread %" B_PRId32 " tried to delete kernel semaphore "
445 " <last acquirer> - The thread that last acquired the semaphore.\n"
598 /*! Forcibly removes a thread fro
786 Thread *thread = thread_get_current_thread(); local
[all...]
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerSimple.cpp19 #include <thread.h>
41 kprintf(" thread: %" B_PRId32 "\n", thread);
75 size_t Hash(const IORequestOwner* value) const { return value->thread; }
77 { return value->thread == key; }
175 owner.thread = -1;
231 // lock memory (via another thread or a dedicated call).
262 //dprintf(" request %p -> owner %p (thread %ld, active %d)\n", request, owner, owner->thread, wasActive);
580 marker.thread
785 _GetRequestOwner(team_id team, thread_id thread, bool allocate) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRPCCallbackServer.cpp235 thread_id thread; local
236 thread = spawn_kernel_thread(&CallbackServer::ConnectionThreadLauncher,
238 if (thread < B_OK) {
241 return thread;
244 entry->fThread = thread;
246 status_t result = resume_thread(thread);
248 kill_thread(thread);
/haiku/src/system/kernel/scheduler/
H A Dscheduler_cpu.h11 #include <thread.h>
66 void PushFront(ThreadData* thread,
68 void PushBack(ThreadData* thread,
70 void Remove(ThreadData* thread);
85 void StartQuantumTimer(ThreadData* thread,
145 void PushFront(ThreadData* thread,
147 void PushBack(ThreadData* thread,
149 void Remove(ThreadData* thread);
178 static void _UnassignThread(Thread* thread,
/haiku/src/apps/debugger/user_interface/cli/
H A DCliContext.cpp23 // enough. Should that ever change, we would need a thread-safe
32 Event(int type, ::Thread* thread = NULL, TeamMemoryBlock* block = NULL,
37 fThreadReference(thread),
234 CliContext::SetCurrentThread(::Thread* thread) argument
241 fCurrentThread = thread;
253 // if the thread's stack trace has already been loaded,
254 // set it, otherwise we'll set it when we process the thread's
272 printf("current thread: %" B_PRId32 " \"%s\"\n", fCurrentThread->ID(),
275 printf("no current thread\n");
412 message->FindInt32("thread",
429 ::Thread* thread = fTeam->ThreadByID(threadID); local
443 ::Thread* thread = fTeam->ThreadByID(threadID); local
[all...]
/haiku/headers/build/os/app/
H A DRoster.h41 thread_id thread; member in struct:app_info
152 uint32 flags, team_id team, thread_id thread,
156 void SetThread(team_id team, thread_id thread) const;
157 status_t SetThreadAndTeam(uint32 entryToken, thread_id thread,
159 status_t CompleteRegistration(team_id team, thread_id thread,
/haiku/headers/os/app/
H A DRoster.h22 thread_id thread; member in struct:app_info
154 team_id team, thread_id thread,
162 thread_id thread) const;
165 thread_id thread, team_id team,
169 thread_id thread, port_id port) const;
/haiku/src/kits/app/
H A DLooperList.cpp141 BLooperList::LooperForThread(thread_id thread) argument
148 = find_if(fData.begin(), fData.end(), FindThreadPred(thread));
255 return data.looper && thread == data.looper->Thread();
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DMainWindow.cpp154 MainWindow::OpenThreadWindow(Model::Thread* thread) argument
157 ObjectSubWindowKey* key = new(std::nothrow) ObjectSubWindowKey(thread);
179 window = new ThreadWindow(fSubWindowManager, fModel, thread);
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_large_memory.cpp575 Thread* thread = thread_get_current_thread(); local
576 ThreadCPUPinner _(thread);
578 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num,
606 Thread* thread = thread_get_current_thread(); local
607 ThreadCPUPinner _(thread);
609 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
646 Thread* thread = thread_get_current_thread(); local
647 ThreadCPUPinner _(thread);
649 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
683 Thread* thread local
[all...]
/haiku/src/system/kernel/arch/m68k/paging/
H A Dm68k_physical_page_mapper_large_memory.cpp578 Thread* thread = thread_get_current_thread(); local
579 ThreadCPUPinner _(thread);
581 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num,
609 Thread* thread = thread_get_current_thread(); local
610 ThreadCPUPinner _(thread);
612 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
649 Thread* thread = thread_get_current_thread(); local
650 ThreadCPUPinner _(thread);
652 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
686 Thread* thread local
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dtaskqueue.h42 struct thread;
67 * interrupt or waking a kernel thread).
91 int taskqueue_member(struct taskqueue *queue, struct thread *td);
97 * Functions for dedicated thread taskqueues
179 * This queue is serviced by a kernel thread. To enqueue a task, call
182 TASKQUEUE_DECLARE(thread); variable
/haiku/src/system/kernel/arch/arm/paging/
H A Darm_physical_page_mapper_large_memory.cpp580 Thread* thread = thread_get_current_thread(); local
581 ThreadCPUPinner _(thread);
583 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num,
611 Thread* thread = thread_get_current_thread(); local
612 ThreadCPUPinner _(thread);
614 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
651 Thread* thread = thread_get_current_thread(); local
652 ThreadCPUPinner _(thread);
654 PhysicalPageSlotQueue* slotQueue = GetSlotQueue(thread->cpu->cpu_num, user);
688 Thread* thread local
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/
H A DPPPInterface.cpp448 \param thread Receiver thread.
454 PPPInterface::EnableReports(ppp_report_type type, thread_id thread, argument
460 request.thread = thread;
467 /*! \brief Removes thread from list of report requestors of this interface.
470 \param thread Receiver thread.
475 PPPInterface::DisableReports(ppp_report_type type, thread_id thread) const
480 request.thread
[all...]
H A DPPPManager.cpp561 \param thread Receiver thread.
567 PPPManager::EnableReports(ppp_report_type type, thread_id thread, argument
572 request.thread = thread;
579 /*! \brief Removes thread from list of report requestors of this interface.
582 \param thread Receiver thread.
587 PPPManager::DisableReports(ppp_report_type type, thread_id thread) const
591 request.thread
[all...]
/haiku/src/system/kernel/debug/
H A Dcore_dump.cpp26 #include <thread.h>
171 void SetThread(Thread* thread) argument
176 fThread = thread;
182 /*! Invoke with thread lock and scheduler lock being held. */
831 // pre-allocate a list of thread states
880 for (Thread* thread = fTeam->thread_list; thread != NULL;
881 thread = thread->team_next) {
884 atomic_or(&thread
957 Thread* thread = state->GetThread(); local
1612 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DNamespaceDump.cpp46 thread_id thread; member in struct:acpi_ns_device_info
213 device->thread = spawn_kernel_thread(acpi_namespace_dump, "acpi dumper",
215 if (device->thread < 0) {
218 return device->thread;
223 resume_thread(device->thread);
314 wait_for_thread(device->thread, &status);
/haiku/headers/private/shared/
H A DRWLockManager.h27 thread(find_thread(NULL)),
33 thread_id thread; member in struct:BPrivate::RWLockable::Waiter
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.h72 void _SetThreadIORequests(Model::Thread* thread,
114 ExtendedThreadSchedulingState* thread,

Completed in 120 milliseconds

<<111213141516171819