Searched refs:thread (Results 176 - 200 of 475) sorted by relevance

1234567891011>>

/haiku/src/kits/debugger/target_host_interface/
H A DTargetHostInterface.cpp26 thread(-1),
62 thread_id thread = options.thread; local
70 thread = team;
75 if (team < 0 && thread < 0)
79 status_t error = FindTeamByThread(thread, team);
174 thread_id thread; local
175 if (message->FindInt32("thread", &thread) == B_OK)
176 wait_for_thread(thread, NUL
[all...]
/haiku/src/bin/debug/time_stats/
H A Dscheduling_analysis.cpp171 "%llu thread wait objects\n", analysis.thread_count,
174 // sort the thread by run time
179 scheduling_analysis_thread* thread = analysis.threads[i]; local
185 = thread->wait_objects;
226 printf("\nthread %ld \"%s\":\n", thread->id, thread->name);
227 printf(" run time: %lld us (%lld runs)\n", thread->total_run_time,
228 thread->runs);
230 printf(" latencies: %lld us (%lld)\n", thread->total_latency,
231 thread
[all...]
/haiku/src/apps/haikudepot/ui/
H A DToLatestUserUsageConditionsWindow.cpp97 // start a new thread to pull down the user usage conditions data.
211 HDINFO("quit requested while worker thread is operating -- will "
212 "try again once the worker thread has completed");
222 ToLatestUserUsageConditionsWindow::_SetWorkerThread(thread_id thread) argument
224 if (thread >= 0) {
225 fWorkerThread = thread;
237 ToLatestUserUsageConditionsWindow::_SetWorkerThreadLocked(thread_id thread) argument
240 _SetWorkerThread(thread);
244 /*! This method is called on the main thread in order to initiate the background
246 responsibility for coordinating the creation of the thread an
261 thread_id thread = spawn_thread(&_FetchDataThreadEntry, local
338 thread_id thread = spawn_thread(&_AgreeThreadEntry, local
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DIdMap.cpp169 thread_id thread = load_image_etc(1, args, NULL, B_NORMAL_PRIORITY, local
171 if (thread < B_OK) {
174 return thread;
177 set_port_owner(fRequestPort, thread);
178 set_port_owner(fReplyPort, thread);
180 result = resume_thread(thread);
182 kill_thread(thread);
/haiku/src/system/kernel/arch/ppc/
H A Darch_int.cpp22 #include <thread.h>
108 Thread *thread = thread_get_current_thread(); local
111 if (thread)
112 ppc_push_iframe(&thread->arch_info.iframes, iframe);
129 // if this CPU or this thread has a fault handler,
137 Thread *thread = thread_get_current_thread(); local
138 if (thread && thread->fault_handler != 0) {
140 reinterpret_cast<uintptr_t>(thread->fault_handler);
157 } else if (thread !
[all...]
/haiku/src/system/kernel/arch/arm/
H A Darch_int.cpp27 #include <thread.h>
354 Thread *thread = thread_get_current_thread();
360 dprintf("FAR: %08lx, FSR: %08x, isUser: %d, isWrite: %d, isExec: %d, thread: %s\n", far, fsr, isUser, isWrite, isExec, thread->name);
366 // If this CPU or this thread has a fault handler, we're allowed to be
368 if (thread != NULL) {
379 if (thread->fault_handler != 0) {
380 kprintf("ERROR: thread::fault_handler used in kernel "
384 frame->pc = reinterpret_cast<uintptr_t>(thread->fault_handler);
406 // disabled, which in most cases is a bug. We should add some thread
475 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlock.cpp24 #include "thread.h"
28 Thread* thread; member in struct:mutex_waiter
34 Thread* thread; member in struct:rw_lock_waiter
53 /*! Helper class playing the role of the kernel's thread spinlock. We don't use
61 fSemaphore(create_sem(0, "thread spinlock"))
64 panic("Failed to create thread spinlock semaphore!");
144 thread_id thread = find_thread(NULL); local
146 if (thread != RECURSIVE_LOCK_HOLDER(lock)) {
149 lock->holder = thread;
161 thread_id thread local
501 thread_id thread = find_thread(NULL); local
[all...]
/haiku/src/bin/debug/profile/
H A Dprofile.cpp62 "a program and profiles that and (optionally) its children. When a thread\n"
63 "terminates, a list of the functions where the thread was encountered is\n"
70 " thread.\n"
177 Thread* thread = new(std::nothrow) Thread(threadID, name, team);
178 if (thread == NULL)
181 status_t error = _CreateThreadProfileResult(thread);
183 delete thread;
187 error = team->InitThread(thread);
189 delete thread;
193 fThreads.AddItem(thread);
392 _CreateThreadProfileResult(Thread* thread) argument
622 Thread* thread = threadManager.FindThread(event->thread); local
771 Thread* thread = threadManager.ThreadAt(i); local
837 Thread* thread = threadManager.ThreadAt(i); local
910 Thread* thread = threadManager.FindThread( local
[all...]
/haiku/src/tools/fs_shell/
H A Dlock.cpp70 fssh_thread_id thread = fssh_find_thread(NULL); local
72 if (thread != lock->holder) {
77 lock->holder = thread;
87 fssh_thread_id thread = fssh_find_thread(NULL); local
89 if (thread != lock->holder) {
95 lock->holder = thread;
106 fssh_panic("recursive_lock %p unlocked by non-holder thread!\n", lock);
117 fssh_thread_id thread)
122 lock->holder = thread;
178 fssh_panic("mutex_lock failure: mutex %p (sem = 0x%x) acquired twice by thread
116 fssh_recursive_lock_transfer_lock(fssh_recursive_lock *lock, fssh_thread_id thread) argument
201 fssh_mutex_transfer_lock(fssh_mutex *mutex, fssh_thread_id thread) argument
[all...]
/haiku/src/tests/add-ons/kernel/drivers/tty/
H A Dtty-test.cpp52 #define CHK_ALIVE(thread) CHK((thread)->IsAlive())
53 #define CHK_DEAD(thread) CHK(!(thread)->IsAlive())
234 sprintf("Failed to spawn thread: %s\n", strerror(fThread));
283 while (Thread *thread = fThreads.Head()) {
284 fThreads.Remove(thread);
285 delete thread;
300 Thread *thread = new Thread(runnable, name); local
301 fThreads.Add(thread);
457 Thread *thread = CreateThread( local
525 Thread *thread = CreateThread( local
591 Thread *thread = CreateThread( local
652 Thread *thread = CreateThread( local
[all...]
/haiku/src/system/kernel/debug/
H A Dsystem_profiler.cpp25 #include <thread.h>
36 // for events. Those events are team, thread, and image changes (added/removed),
73 virtual void ThreadEnqueuedInRunQueue(Thread* thread);
74 virtual void ThreadRemovedFromRunQueue(Thread* thread);
89 bool _ThreadAdded(Thread* thread);
90 bool _ThreadRemoved(Thread* thread);
213 /*! Notifies the profiler thread when the profiling buffer is full enough.
303 // Wake up the user thread, if it is waiting, and mark profiling
488 while (Thread* thread = iterator.Next()) {
491 bool added = _ThreadAdded(thread);
520 Thread* thread = gCPU[i].running_thread; local
571 Thread* thread = thread_get_current_thread(); local
658 Thread* thread = (Thread*)event->GetPointer("threadStruct", NULL); local
744 ThreadEnqueuedInRunQueue(Thread* thread) argument
775 ThreadRemovedFromRunQueue(Thread* thread) argument
956 _ThreadAdded(Thread* thread) argument
987 _ThreadRemoved(Thread* thread) argument
1403 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/src/system/libroot/os/locks/
H A Drw_lock.cpp17 thread_id thread; member in struct:rw_lock_waiter
26 waiter.thread = find_thread(NULL);
68 lock->holder = waiter->thread;
69 _kern_unblock_thread(waiter->thread, B_OK);
76 _kern_unblock_thread(waiter->thread, B_OK);
108 _kern_unblock_thread(waiter->thread, B_ERROR);
/haiku/src/apps/debuganalyzer/model_loader/
H A DThreadModelLoader.cpp32 ThreadModelLoader::ThreadModelLoader(Model* model, Model::Thread* thread, argument
37 fThread(thread),
155 if (event->thread == threadID)
164 keepEvent = event->thread == threadID
173 keepEvent = event->thread == threadID;
181 keepEvent = event->thread == threadID;
H A DThreadModelLoader.h18 Model::Thread* thread,
/haiku/src/kits/debugger/debugger_interface/
H A DDebuggerInterface.h54 virtual status_t ContinueThread(thread_id thread) = 0;
55 virtual status_t StopThread(thread_id thread) = 0;
56 virtual status_t SingleStepThread(thread_id thread) = 0;
83 virtual status_t GetThreadInfo(thread_id thread,
85 virtual status_t GetCpuState(thread_id thread,
88 virtual status_t SetCpuState(thread_id thread,
/haiku/src/kits/debugger/debugger_interface/local/
H A DLocalDebuggerInterface.cpp378 if (message.origin.thread >= 0 && message.origin.nub_port >= 0)
380 message.origin.thread);
408 LocalDebuggerInterface::ContinueThread(thread_id thread) argument
410 return continue_thread(fNubPort, thread);
415 LocalDebuggerInterface::StopThread(thread_id thread) argument
417 return debug_thread(thread);
422 LocalDebuggerInterface::SingleStepThread(thread_id thread) argument
425 continueMessage.thread = thread;
535 threadInfo.thread, threadInf
680 GetThreadInfo(thread_id thread, ThreadInfo& info) argument
693 GetCpuState(thread_id thread, CpuState*& _state) argument
705 SetCpuState(thread_id thread, const CpuState* state) argument
985 _GetDebugCpuState(thread_id thread, debug_cpu_state& _state) argument
[all...]
/haiku/headers/private/kernel/
H A DUserEvent.h15 #include <thread.h>
70 static ThreadSignalEvent* Create(Thread* thread, uint32 signalNumber,
80 ThreadSignalEvent(Thread* thread,
/haiku/src/kits/debugger/jobs/
H A DGetStackTraceJob.cpp21 JobListener* listener, Architecture* architecture, ::Thread* thread)
23 fKey(thread, JOB_TYPE_GET_STACK_TRACE),
27 fThread(thread)
36 SetDescription("Retrieving stack trace for thread %" B_PRId32, fThread->ID());
20 GetStackTraceJob(DebuggerInterface* debuggerInterface, JobListener* listener, Architecture* architecture, ::Thread* thread) argument
/haiku/headers/private/kernel/arch/m68k/
H A Darch_thread.h13 #include <arch/thread.h>
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPUtils.h36 extern status_t send_data_with_timeout(thread_id thread, int32 code, void *buffer,
H A DPPPReportDefs.h71 thread_id thread; member in struct:ppp_report_request
/haiku/src/tests/system/kernel/
H A Dwait_for_objects_test.cpp57 thread_id thread = spawn_thread(notifier_thread, "notifier", local
59 resume_thread(thread);
61 printf("thread: %ld\n", thread);
90 thread,
142 printf("thread %ld quit\n", object);
/haiku/src/system/kernel/scheduler/
H A Dscheduler_common.h16 #include <thread.h>
/haiku/headers/private/app/
H A DRosterPrivate.h48 uint32 flags, team_id team, thread_id thread,
51 { return fRoster->_AddApplication(mimeSig, ref, flags, team, thread,
57 status_t CompleteRegistration(team_id team, thread_id thread, argument
59 { return fRoster->_CompleteRegistration(team, thread, port); }
47 AddApplication(const char *mimeSig, const entry_ref *ref, uint32 flags, team_id team, thread_id thread, port_id port, bool fullReg, uint32 *token, team_id *otherTeam) const argument
/haiku/src/servers/registrar/mime/
H A DRegistrarThreadManager.h29 status_t LaunchThread(RegistrarThread *thread);

Completed in 157 milliseconds

1234567891011>>