Searched refs:thread (Results 76 - 100 of 475) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/bindfs/
H A DDebugSupport.cpp24 \note The initialization is not thread safe!
89 thread_id thread = find_thread(NULL); local
90 if (thread != dbg_printf_thread) {
93 dbg_printf_thread = thread;
103 thread_id thread = find_thread(NULL); local
104 if (thread != dbg_printf_thread)
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DDebugSupport.cpp24 \note The initialization is not thread safe!
89 thread_id thread = find_thread(NULL); local
90 if (thread != dbg_printf_thread) {
93 dbg_printf_thread = thread;
103 thread_id thread = find_thread(NULL); local
104 if (thread != dbg_printf_thread)
/haiku/src/apps/icon-o-matic/generic/support/
H A DDebug.cpp25 \note The initialization is not thread safe!
89 thread_id thread = find_thread(NULL); local
90 if (thread != dbg_printf_thread) {
93 dbg_printf_thread = thread;
104 thread_id thread = find_thread(NULL); local
105 if (thread != dbg_printf_thread)
/haiku/src/servers/package/
H A DDebugSupport.cpp24 \note The initialization is not thread safe!
89 thread_id thread = find_thread(NULL); local
90 if (thread != dbg_printf_thread) {
93 dbg_printf_thread = thread;
103 thread_id thread = find_thread(NULL); local
104 if (thread != dbg_printf_thread)
/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DDebug.cpp22 \note The initialization is not thread safe!
86 thread_id thread = find_thread(NULL); local
87 if (thread != dbg_printf_thread) {
90 dbg_printf_thread = thread;
101 thread_id thread = find_thread(NULL); local
102 if (thread != dbg_printf_thread)
/haiku/src/system/libroot/posix/unistd/
H A Dsystem.cpp28 thread_id thread = load_image(argc, argv, (const char **)environ); local
29 if (thread < 0)
30 RETURN_AND_SET_ERRNO_TEST_CANCEL(thread);
46 resume_thread(thread);
50 while ((result = waitpid(thread, &exitStatus, 0)) < 0
/haiku/headers/private/libroot/
H A Dpthread_private.h88 void __pthread_key_call_destructors(pthread_thread *thread);
91 void __init_pthread(pthread_thread* thread, void* (*entry)(void*), void* data);
93 const pthread_attr_t* pthreadAttributes, pthread_t thread,
100 int __pthread_getname_np(pthread_t thread, char* buffer, size_t length);
101 int __pthread_setname_np(pthread_t thread, const char* name);
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliStackTraceCommand.cpp21 CliCommand("print a stack trace of the current thread",
23 "Prints a stack trace for the current thread.")
32 // get the current thread
35 Thread* thread = context.CurrentThread(); local
36 if (thread == NULL) {
37 printf("no current thread\n");
41 if (thread->State() != THREAD_STATE_STOPPED) {
42 printf("Current thread is not stopped. Can't get stack trace.\n");
47 StackTrace* stackTrace = thread->GetStackTrace();
52 stackTrace = thread
[all...]
H A DCliThreadCommand.cpp19 CliCommand("set or print the current thread",
20 "%s [ <thread ID> ]\n"
21 "Sets the current thread to <thread ID>, if supplied. Otherwise prints "
23 "current thread.")
38 // no arguments -- print the current thread
51 // get the thread and change the current thread
54 if (Thread* thread = team->ThreadByID(threadID))
55 context.SetCurrentThread(thread);
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_debug.cpp18 #include <thread.h>
81 print_stack_frame(Thread *thread, addr_t ip, addr_t framePointer, argument
96 if (status != B_OK && !IS_KERNEL_ADDRESS(ip) && thread) {
98 status = image_debug_lookup_user_symbol_address(thread->team, ip,
121 Thread *thread; local
126 thread = thread_get_current_thread();
132 thread = Thread::GetDebug(id);
133 if (thread == NULL) {
134 kprintf("could not find thread %ld\n", id);
138 // read %ebp from the thread'
276 arch_debug_contains_call(Thread *thread, const char *symbol, addr_t start, addr_t end) argument
[all...]
/haiku/src/system/kernel/arch/arm/
H A Darch_thread.cpp15 #include <thread.h>
19 #include <arch/thread.h>
23 #include <thread.h>
42 // a new thread structure.
82 arch_thread_init_thread_struct(Thread *thread) argument
85 memcpy(&thread->arch_info, &sInitialState, sizeof(struct arch_thread));
92 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, argument
98 "%p\n", thread->name, stackTop, function, data);
112 thread->arch_info.sp = stackTop;
117 arch_thread_init_tls(Thread *thread) argument
179 arch_thread_enter_userspace(Thread *thread, addr_t entry, void *args1, void *args2) argument
216 arch_on_signal_stack(Thread *thread) argument
231 get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action, size_t spaceNeeded) argument
247 arch_setup_signal_frame(Thread *thread, struct sigaction *sa, struct signal_frame_data *signalFrameData) argument
[all...]
/haiku/src/kits/debugger/debugger_interface/
H A DDebugEvent.h31 team_id team, thread_id thread);
52 team_id team, thread_id thread,
66 thread_id thread);
73 thread_id thread, target_addr_t message);
85 thread_id thread, CpuState* state);
92 thread_id thread, CpuState* state);
99 thread_id thread, CpuState* state);
106 thread_id thread,
119 thread_id thread);
125 TeamExecEvent(team_id team, thread_id thread);
[all...]
/haiku/src/tests/system/kernel/
H A Dport_wakeup_test_1.cpp12 /* A full port can't be written to. Thus the write from thread should block, until main thread reads.
47 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
48 resume_thread(thread);
56 printf("waiting for thread to terminate\n");
57 wait_for_thread(thread, &s);
H A Dport_wakeup_test_3.cpp51 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
52 resume_thread(thread);
59 printf("waiting for thread to terminate\n");
60 wait_for_thread(thread, &s);
H A Dport_wakeup_test_4.cpp45 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
46 resume_thread(thread);
53 printf("waiting for thread to terminate\n");
54 wait_for_thread(thread, &s);
H A Dport_wakeup_test_5.cpp45 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
46 resume_thread(thread);
53 printf("waiting for thread to terminate\n");
54 wait_for_thread(thread, &s);
H A Dport_wakeup_test_8.cpp50 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
51 resume_thread(thread);
58 printf("waiting for thread to terminate\n");
59 wait_for_thread(thread, &s);
H A Dport_wakeup_test_9.cpp50 thread_id thread = spawn_thread(test_thread, "test thread", B_NORMAL_PRIORITY, NULL); local
51 resume_thread(thread);
58 printf("waiting for thread to terminate\n");
59 wait_for_thread(thread, &s);
/haiku/src/system/libroot/os/locks/
H A Drecursive_lock.cpp59 thread_id thread = find_thread(NULL); local
61 if (thread != lock->holder) {
63 lock->holder = thread;
75 debugger("recursive_lock unlocked by non-holder thread!\n");
/haiku/src/kits/debugger/jobs/
H A DGetThreadStateJob.cpp18 ::Thread* thread)
20 fKey(thread, JOB_TYPE_GET_THREAD_STATE),
22 fThread(thread)
17 GetThreadStateJob(DebuggerInterface* debuggerInterface, ::Thread* thread) argument
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystemInitializer.cpp76 thread_id thread = load_image_etc(3, args, NULL, B_NORMAL_PRIORITY, local
78 if (thread < 0) {
80 RETURN_ERROR(thread);
84 status_t error = set_port_owner(port, thread);
86 resume_thread(thread);
93 kill_team(thread);
/haiku/src/system/kernel/arch/x86/
H A Darch_int.cpp18 #include <thread.h>
89 Thread* thread = thread_get_current_thread(); local
91 panic("unhandled trap 0x%lx (%s) at ip 0x%lx, thread %" B_PRId32 "!\n",
93 frame->ip, thread ? thread->id : -1);
190 Thread* thread = thread_get_current_thread(); local
194 // If the thread has a signal handler for the signal, we simply send it
201 thread->team->id);
203 send_signal_to_thread(thread, signal, 0);
220 Thread* thread local
266 Thread* thread = thread_get_current_thread(); local
[all...]
/haiku/headers/private/system/
H A Dsystem_profiler_defs.h51 // thread
113 thread_id thread; member in struct:system_profiler_thread_added
120 thread_id thread; member in struct:system_profiler_thread_removed
137 thread_id thread; member in struct:system_profiler_samples
144 thread_id thread; member in struct:system_profiler_thread_scheduling_event
150 thread_id thread; member in struct:system_profiler_thread_scheduled
160 thread_id thread; member in struct:system_profiler_thread_enqueued_in_run_queue
167 thread_id thread; member in struct:system_profiler_thread_removed_from_run_queue
194 thread_id thread; member in struct:system_profiler_io_request_scheduled
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dmisc.cpp29 send_signal_etc(pid_t thread, uint signal, uint32 flags) argument
31 return send_signal(thread, signal);
/haiku/headers/posix/
H A Dmalloc_debug.h25 void heap_debug_dump_allocations(bool statsOnly, thread_id thread);
31 thread_id *thread);

Completed in 110 milliseconds

1234567891011>>