Searched refs:thread (Results 101 - 125 of 475) sorted by relevance

1234567891011>>

/haiku/headers/private/debugger/model/
H A DThreadInfo.h16 ThreadInfo(team_id team, thread_id thread,
19 void SetTo(team_id team, thread_id thread,
/haiku/src/tests/system/libroot/posix/
H A Dtls_concurrency_test.c13 void *thread(void *ignored) { function
23 errno = pthread_create(&thr[j], NULL, thread, NULL);
/haiku/src/kits/shared/
H A DRWLockManager.cpp97 thread_id thread = find_thread(NULL); local
99 if (lockable->fOwner == thread) {
119 thread_id thread = find_thread(NULL); local
121 if (lockable->fOwner == thread) {
128 lockable->fOwner = thread;
141 thread_id thread = find_thread(NULL); local
143 if (lockable->fOwner == thread) {
150 lockable->fOwner = thread;
165 "thread!");
229 lockable->fOwner = waiter->thread;
[all...]
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c29 thread_id thread; member in struct:__anon5
110 // Fire a kernel thread to actually handle (aka call them!)
112 queue->thread = spawn_kernel_thread(dpc_thread, name, priority, queue);
113 if (queue->thread < 0) {
114 status_t status = queue->thread;
119 resume_thread(queue->thread);
131 thread_id thread; local
142 thread = queue->thread;
143 queue->thread
[all...]
/haiku/src/bin/debug/
H A Ddebug_utils.cpp105 thread_id thread; local
107 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount,
112 thread = error;
116 return thread;
144 set_thread_debugging_flags(port_id nubPort, thread_id thread, int32 flags) argument
147 message.thread = thread;
157 fprintf(stderr, "%s: Failed to set thread debug flags: %s\n",
167 continue_thread(port_id nubPort, thread_id thread) argument
170 message.thread
[all...]
/haiku/src/tests/system/kernel/scheduler/
H A Dmain.cpp32 struct thread* GetThread() { return &fThread; }
40 struct thread fThread;
58 struct thread* CurrentThread()
60 void SetCurrentThread(struct thread* thread) argument
61 { fCurrentThread = thread->object; }
100 memset(&fThread, 0, sizeof(struct thread));
129 : Thread("idle thread", B_IDLE_PRIORITY)
227 thread_enqueue(struct thread *t, struct thread_queue *q)
232 struct thread *
261 arch_thread_set_current_thread(struct thread *thread) argument
335 add_thread(Thread* thread) argument
[all...]
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp146 void AddState(Model::Thread* thread, nanotime_t time, ThreadState state, argument
149 DataArray& array = fDataArrays[thread->Index()];
168 void AddIOState(Model::Thread* thread, nanotime_t time, uint32 state) argument
170 IODataArray& array = fIODataArrays[thread->Index()];
174 void AddRun(Model::Thread* thread, nanotime_t time) argument
176 AddState(thread, time, RUNNING, NULL);
179 void AddLatency(Model::Thread* thread, nanotime_t time) argument
181 AddState(thread, time, READY, NULL);
184 void AddPreemption(Model::Thread* thread, nanotime_t time) argument
186 AddState(thread, tim
189 AddWait(Model::Thread* thread, nanotime_t time, Model::ThreadWaitObjectGroup* waitObject) argument
195 AddUnspecifiedWait(Model::Thread* thread, nanotime_t time) argument
579 Model::Thread* thread = fModel->ThreadAt( local
773 Model::Thread* thread; local
941 Model::Thread* thread = fModel->ThreadAt( local
1134 Model::Thread* thread = fModel->ThreadAt(i); local
1179 _AddThreadIOData(Model::Thread* thread, nanotime_t startTime, nanotime_t endTime, BObjectList<Model::IOOperation>& operations) argument
1255 _GetIORequests(Model::Thread* thread, nanotime_t time, BObjectList<Model::IORequest>& ioRequests) argument
1420 Model::Thread* thread = fModel->ThreadByID(event->thread); local
1449 Model::ThreadSchedulingState* thread = fState.LookupThread( local
1531 Model::ThreadSchedulingState* thread = fState.LookupThread( local
1561 Model::ThreadSchedulingState* thread = fState.LookupThread( local
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Darch_debug.cpp132 FindAreaEx(Thread* thread, addr_t adr) argument
138 return thread->team->address_space->LookupArea(adr);
145 lookup_symbol(Thread* thread, addr_t address, addr_t* _baseAddress, argument
154 } else if (true && thread != NULL && thread->team != NULL) {
156 status = elf_debug_lookup_user_symbol_address(thread->team, address,
161 status = image_debug_lookup_user_symbol_address(thread->team,
197 WritePCEx(Thread* thread, addr_t pc) argument
208 if (lookup_symbol(thread, pc, &baseAddress,
219 VMArea* area = FindAreaEx(thread, p
267 DoStackTraceEx(Thread* thread, addr_t fp, addr_t pc) argument
321 Thread* thread = Thread::GetDebug(id); local
354 arch_debug_contains_call(Thread *thread, const char *symbol, addr_t start, addr_t end) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPUtils.cpp30 send_data_with_timeout(thread_id thread, int32 code, void *buffer, argument
34 if (has_data(thread))
40 if (!has_data(thread))
41 return send_data(thread, code, buffer, buffer_size);
/haiku/src/kits/debug/arch/
H A Darch_debug_support.h15 thread_id thread, void **ip, void **stackFrameAddress);
/haiku/src/kits/debug/arch/m68k/
H A Darch_debug_support.cpp19 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, argument
/haiku/src/kits/debug/arch/mipsel/
H A Darch_debug_support.cpp13 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, argument
/haiku/src/servers/registrar/
H A DRosterAppInfo.h25 void Init(thread_id thread, team_id team, port_id port, uint32 flags,
/haiku/src/system/kernel/arch/x86/paging/
H A DX86VMTranslationMap.cpp13 #include <thread.h>
98 Thread* thread = thread_get_current_thread();
99 thread_pin_to_current_cpu(thread);
148 thread_unpin_from_current_cpu(thread);
/haiku/src/system/kernel/arch/arm/paging/
H A DARMVMTranslationMap.cpp13 #include <thread.h>
98 Thread* thread = thread_get_current_thread();
99 thread_pin_to_current_cpu(thread);
148 thread_unpin_from_current_cpu(thread);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dstubs.cpp29 scheduler_enqueue_in_run_queue(Thread* thread) argument
/haiku/src/system/kernel/arch/m68k/
H A Darch_user_debugger.cpp12 #include <thread.h>
47 Thread* thread = thread_get_current_thread(); local
57 if (thread->debug_info.flags & B_THREAD_DEBUG_SINGLE_STEP) {
80 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) argument
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KVMTranslationMap.cpp13 #include <thread.h>
98 Thread* thread = thread_get_current_thread();
99 thread_pin_to_current_cpu(thread);
148 thread_unpin_from_current_cpu(thread);
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCVMTranslationMap.cpp13 #include <thread.h>
98 Thread* thread = thread_get_current_thread();
99 thread_pin_to_current_cpu(thread);
148 thread_unpin_from_current_cpu(thread);
/haiku/src/libs/compat/freebsd_network/
H A Dsystm.cpp12 #include <thread.h>
/haiku/src/apps/processcontroller/
H A DPriorityMenu.h13 PriorityMenu (thread_id thread, int32 priority);
/haiku/headers/private/libroot/
H A Dtime_private.h27 thread_id thread; member in struct:__timer_t
29 void SetTo(int32 id, thread_id thread) argument
32 this->thread = thread;
/haiku/headers/compatibility/bsd/
H A Dsignal.h25 int pthread_sigqueue(pthread_t thread, int sig, const union sigval value);
/haiku/src/servers/registrar/mime/
H A DRegistrarThreadManager.cpp72 /*! \brief Launches the given thread, passing responsiblity for it onto the
75 \param thread Pointer to a newly allocated \c RegistrarThread object.
78 object assumes ownership of \a thread; if the result is an error code, it
86 - \c B_BAD_THREAD_STATE: the thread has already been launched
90 RegistrarThreadManager::LaunchThread(RegistrarThread *thread) argument
92 status_t err = thread ? B_OK : B_BAD_VALUE;
101 fThreads.push_back(thread);
102 err = thread->Run();
106 if ((*i) == thread) {
117 " thread, i
[all...]
/haiku/src/kits/debugger/debugger_interface/local/
H A DLocalDebuggerInterface.h30 virtual status_t ContinueThread(thread_id thread);
31 virtual status_t StopThread(thread_id thread);
32 virtual status_t SingleStepThread(thread_id thread);
54 virtual status_t GetThreadInfo(thread_id thread,
56 virtual status_t GetCpuState(thread_id thread,
59 virtual status_t SetCpuState(thread_id thread,
88 status_t _GetDebugCpuState(thread_id thread,

Completed in 103 milliseconds

1234567891011>>