/haiku/src/system/kernel/ |
H A D | heap.cpp | 20 #include <thread.h> 44 thread_id thread; member in struct:heap_leak_check_info_s 538 thread_id thread = -1; local 546 else if (strcmp(argv[i], "thread") == 0) 547 thread = parse_expression(argv[++i]); 599 && (thread == -1 || info->thread == thread) 604 kprintf("team: % 6" B_PRId32 "; thread: % 6" B_PRId32 "; " 606 "caller: %#lx\n", info->team, info->thread, [all...] |
H A D | real_time_clock.cpp | 19 #include <thread.h>
|
/haiku/src/kits/debugger/elf/ |
H A D | CoreFile.cpp | 714 // check entry size and thread count 758 // create and add thread 759 CoreFileThreadInfo* thread = new(std::nothrow) CoreFileThreadInfo(id, 761 if (thread == NULL || !fThreadInfos.AddItem(thread)) { 762 delete thread; 767 if (!thread->SetCpuState(data, cpuStateSize))
|
/haiku/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATAChannel.cpp | 998 #include <thread.h> 1007 Thread *thread = thread_get_current_thread(); local 1008 thread_pin_to_current_cpu(thread); 1014 thread_unpin_from_current_cpu(thread); 1030 thread_unpin_from_current_cpu(thread);
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | guarded_heap.cpp | 818 printf("allocating thread: %" B_PRId32 "\n", page.allocating_thread); 819 printf("freeing thread: %" B_PRId32 "\n", page.freeing_thread); 867 panic("thread %" B_PRId32 " tried accessing address %p which is " \ 869 ", alignment: %" B_PRIuSIZE ", allocated by thread: %" \ 870 B_PRId32 ", freed by thread: %" B_PRId32 ")", \ 972 dump_allocations(guarded_heap& heap, bool statsOnly, thread_id thread) argument 989 if (thread >= 0 && thread != page.allocating_thread) 999 "; thread: %" B_PRId32 "; alignment: %" B_PRIuSIZE "\n", 1045 guarded_heap_dump_allocations(bool statsOnly, thread_id thread) argument [all...] |
/haiku/src/system/kernel/vm/ |
H A D | VMCache.cpp | 25 #include <thread.h> 69 Thread* thread; member in struct:VMCache::PageEventWaiter 948 waiter.thread = thread_get_current_thread(); 955 thread_prepare_to_block(waiter.thread, 0, THREAD_BLOCK_TYPE_OTHER_OBJECT, page); 1510 thread_unblock(waiter->thread, B_OK);
|
H A D | vm.cpp | 46 #include <thread.h> 3794 // We need at least one argument, the address. Optionally a thread ID can be 3811 Thread* thread = Thread::GetDebug(threadID); 3812 if (thread == NULL) { 3813 kprintf("Invalid thread/team ID \"%s\"\n", argv[argi - 1]); 3817 team = thread->team; 3891 Thread* thread = debug_get_debugged_thread(); local 3892 if (thread == NULL || thread->team == NULL) { 3897 addressSpace = thread 4538 Thread* thread = thread_get_current_thread(); local 4547 Thread* thread = thread_get_current_thread(); local 4608 Thread* thread = thread_get_current_thread(); local 4620 Thread* thread = thread_get_current_thread(); local 5557 Thread* thread = debug_get_debugged_thread(); local [all...] |
/haiku/headers/private/kernel/ |
H A D | thread_types.h | 33 THREAD_STATE_FREE_ON_RESCHED = 7, // free the thread structure upon reschedule 34 // THREAD_STATE_BIRTH // thread is being created 84 thread_id thread; member in struct:thread_death_entry 106 thread_id thread; // main thread ID == team ID member in struct:job_control_entry 152 struct user_thread* thread; member in struct:free_user_thread 442 int64 serial_number; // immutable after adding thread to hash 443 Thread *hash_next; // protected by thread hash lock 452 int32 pinned_to_cpu; // only accessed by this thread or in the 453 // scheduler, when thread i [all...] |
/haiku/src/add-ons/kernel/file_cache/ |
H A D | launch_speedup.cpp | 23 #include <thread.h> 686 Thread *thread = thread_get_current_thread(); local 687 fSession = start_session(thread->team->id, device, node, name); 788 // ToDo: this check is not thread-safe
|
/haiku/src/system/kernel/debug/ |
H A D | tracing.cpp | 22 #include <thread.h> 836 Thread* thread = thread_get_current_thread(); local 837 if (thread != NULL) { 838 fThread = thread->id; 839 if (thread->team) 840 fTeam = thread->team->id; 1143 } else if (strcmp(token, "thread") == 0) { 1829 " filters \"'thread' <thread>\" (matching entries\n" 1830 " with the given thread I [all...] |
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 49 thread_id thread; member in struct:context 1376 context.thread = spawn_thread(receiving_thread, 1379 resume_thread(context.thread); 1389 wait_for_thread(context.thread, &status); 1806 sServerContext.thread, client, sClientContext.thread);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_taskqueue.c | 69 struct thread **tq_threads; 499 taskqueue_member(struct taskqueue *queue, struct thread *td)
|
H A D | callout.cpp | 9 #include <thread.h> 203 // synchronization with the callout thread, which can modify c_due 218 // means the callout thread has dequeued it and is waiting for c_mtx. 219 // Clear c_due to signal the callout thread.
|
/haiku/src/add-ons/tracker/zipomatic/ |
H A D | GenericThread.cpp | 195 // thread will wait on semaphore 199 // thread will timeout 343 return threadInfo.thread; 432 // thread can not be paused until it releases semaphore 440 // thread can now be paused
|
/haiku/src/apps/expander/ |
H A D | GenericThread.cpp | 186 // thread will wait on semaphore 189 // thread will timeout 335 return info.thread; 424 // thread can not be paused until it releases semaphore 432 // thread can now be paused
|
/haiku/headers/os/app/ |
H A D | Looper.h | 81 static BLooper* LooperForThread(thread_id thread);
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | ktr.h | 116 struct thread *ktr_thread;
|
/haiku/src/system/kernel/arch/generic/ |
H A D | generic_vm_physical_page_mapper.cpp | 15 #include <thread.h>
|
/haiku/src/system/kernel/slab/ |
H A D | MemoryManager.h | 145 thread_id thread; member in struct:MemoryManager::AllocationEntry
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | kernel_emu.cpp | 114 // get the request thread 115 RequestThread* thread = RequestThread::GetCurrentThread(); local 116 if (thread) { 117 *port = thread->GetPort(); 118 *fileSystem = thread->GetFileSystem();
|
/haiku/src/tests/servers/registrar/ |
H A D | RosterShell.cpp | 205 printf("thread: %" B_PRId32 "\n", info.thread);
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 82 struct thread **tq_threads; 169 * Signal a taskqueue thread to terminate. 172 gtaskqueue_terminate(struct thread **pp, struct gtaskqueue *tq) 326 * without any intervening active thread. 472 struct thread *td; 482 tq->tq_threads = malloc(sizeof(struct thread *) * count, M_GTASKQUEUE, 581 * This thread is on its way out, so just drop the lock temporarily 589 /* rendezvous with thread that asked us to terminate */ 1021 * If taskq thread count has been reduced.
|
/haiku/src/add-ons/kernel/drivers/misc/ |
H A D | poke.cpp | 17 #include <thread.h>
|
/haiku/src/apps/haikudepot/server/ |
H A D | WebAppInterface.cpp | 1035 thread_id thread = request->Run(); local 1036 wait_for_thread(thread, NULL); 1117 thread_id thread = request->Run(); local 1118 wait_for_thread(thread, NULL);
|
/haiku/headers/os/drivers/ |
H A D | KernelExport.h | 185 extern int send_signal_etc(pid_t thread, uint signal, uint32 flags);
|