Searched refs:threadID (Results 1 - 25 of 49) sorted by relevance

12

/haiku-fatelf/src/apps/debugger/user_interface/cli/
H A DCliThreadCommand.cpp45 long threadID = strtol(argv[1], &endPointer, 0); local
46 if (*endPointer != '\0' || threadID < 0) {
54 if (Thread* thread = team->ThreadByID(threadID))
57 printf("Error: No thread with ID %ld\n", threadID);
/haiku-fatelf/src/apps/debugger/user_interface/gui/model/
H A DVariablesViewStateHistory.cpp19 thread_id threadID; member in struct:VariablesViewStateHistory::Key
22 Key(thread_id threadID, FunctionID* functionID) argument
24 threadID(threadID),
31 return functionID->HashValue() ^ threadID;
36 return threadID == other.threadID && *functionID == *other.functionID;
48 StateEntry(thread_id threadID, FunctionID* functionID) argument
50 Key(threadID, functionID),
140 VariablesViewStateHistory::GetState(thread_id threadID, FunctionI argument
165 SetState(thread_id threadID, FunctionID* functionID, VariablesViewState* state) argument
[all...]
H A DVariablesViewStateHistory.h23 VariablesViewState* GetState(thread_id threadID,
27 status_t SetState(thread_id threadID,
/haiku-fatelf/src/tests/system/libroot/os/
H A Dsystem_watching_test.cpp178 int32 threadID; local
179 if (message.FindInt32("thread", &threadID) == B_OK)
180 printf("thread: %" B_PRId32 "\n", threadID);
189 int32 threadID; local
190 if (message.FindInt32("thread", &threadID) == B_OK)
191 printf("thread: %" B_PRId32 "\n", threadID);
200 int32 threadID; local
201 if (message.FindInt32("thread", &threadID) == B_OK)
202 printf("thread: %" B_PRId32 "\n", threadID);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dhaiku-nat.c181 haiku_find_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument
185 if (info->thread == threadID)
194 haiku_add_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument
199 if (threadID == teamDebugInfo->nub_thread) {
201 threadID);
205 threadDebugInfo = haiku_find_thread(teamDebugInfo, threadID);
215 threadDebugInfo->thread = threadID;
222 gdbThreadInfo = add_thread(ptid_build(teamDebugInfo->team, 0, threadID));
232 "gdb thread info: %p\n", teamDebugInfo->team, threadID, gdbThreadInfo));
239 haiku_remove_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument
596 haiku_init_child_debugging(thread_id threadID, bool debugThread) argument
693 haiku_continue_thread(team_debug_info *teamDebugInfo, thread_id threadID, uint32 handleEvent, bool step) argument
713 haiku_stop_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument
776 thread_id threadID = ptid_get_tid(inferior_ptid); local
824 thread_id threadID; local
880 thread_id threadID = (thread ? thread->thread : -1); local
982 thread_id threadID = ptid_get_tid(ptid); local
1014 team_id threadID = ptid_get_tid(ptid); local
1357 thread_id threadID = ptid_get_tid(inferior_ptid); local
1482 thread_id threadID = ptid_get_tid(inferior_ptid); local
[all...]
/haiku-fatelf/src/system/kernel/scheduler/
H A Dscheduler_tracing.cpp115 int64 threadID;
117 || !evaluate_debug_expression(argv[1], (uint64*)&threadID, true)) {
122 if (threadID <= 0) {
123 kprintf("Invalid thread ID: %lld\n", threadID);
155 if (entry->ThreadID() == threadID) {
190 } else if (entry->PreviousThreadID() == threadID) {
223 if (entry->ThreadID() != threadID)
238 if (entry->ThreadID() != threadID)
263 kprintf("thread %lld never ran.\n", threadID);
267 kprintf("scheduling statistics for thread %lld:\n", threadID);
[all...]
/haiku-fatelf/src/apps/debuganalyzer/model_loader/
H A DThreadModelLoader.cpp137 thread_id threadID = fThread->ID(); local
155 if (event->thread == threadID)
164 keepEvent = event->thread == threadID
165 || event->previous_thread == threadID ;
173 keepEvent = event->thread == threadID;
181 keepEvent = event->thread == threadID;
/haiku-fatelf/src/apps/debugger/model/
H A DThread.cpp15 Thread::Thread(Team* team, thread_id threadID) argument
18 fID(threadID),
H A DThread.h43 Thread(Team* team, thread_id threadID);
/haiku-fatelf/headers/private/kernel/vm/
H A Dvm_types.h229 thread_id threadID = thread_get_current_thread_id(); local
231 threadID, -1);
244 thread_id threadID = thread_get_current_thread_id(); local
246 threadID);
247 if (previousThread != threadID) {
272 thread_id threadID = thread_get_current_thread_id(); local
274 threadID, expectedPreviousThread);
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/
H A DThreadListView.cpp48 bool Update(thread_id threadID) argument
67 if (threadID >= 0 && oldThread->ID() == threadID)
273 thread_id threadID; local
274 if (message->FindInt32("thread", &threadID) != B_OK)
275 threadID = -1;
277 fThreadsTableModel->Update(threadID);
H A DTeamWindow.h151 void _HandleThreadStateChanged(thread_id threadID);
152 void _HandleCpuStateChanged(thread_id threadID);
153 void _HandleStackTraceChanged(thread_id threadID);
H A DTeamWindow.cpp360 int32 threadID; local
361 if (message->FindInt32("thread", &threadID) != B_OK)
364 _HandleThreadStateChanged(threadID);
369 int32 threadID; local
370 if (message->FindInt32("thread", &threadID) != B_OK)
373 _HandleCpuStateChanged(threadID);
379 int32 threadID; local
380 if (message->FindInt32("thread", &threadID) != B_OK)
383 _HandleStackTraceChanged(threadID);
1262 TeamWindow::_HandleThreadStateChanged(thread_id threadID) argument
1291 _HandleCpuStateChanged(thread_id threadID) argument
1302 _HandleStackTraceChanged(thread_id threadID) argument
[all...]
/haiku-fatelf/src/bin/debug/scheduling_recorder/
H A Dscheduling_recorder.cpp105 thread_id threadID = -1; local
107 threadID = load_program(programArgs, programArgCount,
109 if (threadID < 0) {
111 programArgs[0], strerror(threadID));
114 fMainTeam = threadID;
160 if (threadID >= 0)
161 resume_thread(threadID);
/haiku-fatelf/src/bin/debug/profile/
H A Dprofile.cpp157 status_t AddThread(thread_id threadID) argument
160 status_t error = get_thread_info(threadID, &threadInfo);
164 return AddThread(threadInfo.team, threadID, threadInfo.name);
167 status_t AddThread(team_id teamID, thread_id threadID, const char* name) argument
169 if (FindThread(threadID) != NULL)
176 Thread* thread = new(std::nothrow) Thread(threadID, name, team);
206 void RemoveThread(thread_id threadID) argument
208 if (Thread* thread = FindThread(threadID)) {
223 Thread* FindThread(thread_id threadID) const
226 if (thread->ID() == threadID)
651 thread_id threadID = -1; local
843 thread_id threadID = load_program(programArgs, programArgCount, local
[all...]
/haiku-fatelf/headers/private/kernel/
H A DUserTimer.h163 ThreadTimeUserTimer(thread_id threadID);
260 int32 _user_create_timer(clockid_t clockID, thread_id threadID,
263 status_t _user_delete_timer(int32 timerID, thread_id threadID);
264 status_t _user_get_timer(int32 timerID, thread_id threadID,
266 status_t _user_set_timer(int32 timerID, thread_id threadID,
H A Duser_debugger.h264 void user_debug_thread_created(thread_id threadID);
265 void user_debug_thread_deleted(team_id teamID, thread_id threadID);
/haiku-fatelf/src/system/kernel/
H A DUserEvent.cpp240 thread_id threadID = thread_create_thread(fCreationAttributes, false); local
241 if (threadID >= 0)
242 resume_thread(threadID);
H A DUserTimer.cpp70 status_t LockAndGetTimer(thread_id threadID, int32 timerID, argument
76 if (threadID >= 0) {
77 thread = Thread::GetAndLock(threadID);
846 ThreadTimeUserTimer::ThreadTimeUserTimer(thread_id threadID) argument
848 fThreadID(threadID),
1644 _user_create_timer(clockid_t clockID, thread_id threadID, uint32 flags, argument
1674 if (threadID >= 0) {
1675 thread = Thread::GetAndLock(threadID);
1691 _user_delete_timer(int32 timerID, thread_id threadID) argument
1700 status_t error = timerLocker.LockAndGetTimer(threadID, timerI
1719 _user_get_timer(int32 timerID, thread_id threadID, struct user_timer_info* userInfo) argument
1752 _user_set_timer(int32 timerID, thread_id threadID, bigtime_t startTime, bigtime_t interval, uint32 flags, struct user_timer_info* userOldInfo) argument
[all...]
/haiku-fatelf/src/apps/debugger/controllers/
H A DTeamDebugger.h42 status_t Init(team_id teamID, thread_id threadID,
62 virtual void ThreadActionRequested(thread_id threadID,
155 ThreadHandler* _GetThreadHandler(thread_id threadID);
H A DTeamDebugger.cpp300 TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain) argument
499 if (threadID >= 0) {
509 debug_thread(threadID);
537 int32 threadID; local
538 if (message->FindInt32("thread", &threadID) != B_OK)
541 if (ThreadHandler* handler = _GetThreadHandler(threadID)) {
643 int32 threadID; local
644 if (message->FindInt32("thread", &threadID) != B_OK)
647 if (ThreadHandler* handler = _GetThreadHandler(threadID)) {
655 int32 threadID; local
667 int32 threadID; local
802 ThreadActionRequested(thread_id threadID, uint32 action) argument
1637 _GetThreadHandler(thread_id threadID) argument
[all...]
/haiku-fatelf/src/bin/debug/strace/
H A Dstrace.cpp513 thread_id threadID = -1; local
516 || !get_id(*programArgs, (traceTeam ? teamID : threadID))) {
518 threadID = load_program(programArgs, programArgCount, traceLoading);
519 if (threadID < 0) {
521 programArgs[0], strerror(threadID));
529 status_t error = get_thread_info(threadID, &threadInfo);
532 ": %s\n", kCommandName, threadID, strerror(error));
564 if (threadID >= 0) {
571 set_thread_debugging_flags(nubPort, threadID, threadDebugFlags);
574 resume_thread(threadID);
[all...]
/haiku-fatelf/src/apps/debugger/
H A DDebugger.cpp281 TeamDebugger::Listener* listener, thread_id threadID = -1,
304 error = debugger->Init(teamID, threadID, stopInMain);
438 int32 threadID; local
439 if (message->FindInt32("thread", &threadID) == B_OK)
440 wait_for_thread(threadID, NULL);
/haiku-fatelf/src/system/kernel/debug/
H A Duser_debugger.cpp1051 user_debug_thread_created(thread_id threadID) argument
1063 message.new_thread = threadID;
1071 user_debug_thread_deleted(team_id teamID, thread_id threadID) argument
1114 message.origin.thread = threadID;
1608 thread_id threadID, port_id &threadDebugPort)
1613 Thread* thread = Thread::GetAndLock(threadID);
1800 thread_id threadID = message.set_thread_flags.thread; local
1806 nubThread->id, threadID, flags));
1809 Thread* thread = Thread::GetAndLock(threadID);
1830 thread_id threadID; local
1607 debug_nub_thread_get_thread_debug_port(Thread *nubThread, thread_id threadID, port_id &threadDebugPort) argument
1865 thread_id threadID = message.set_cpu_state.thread; local
1893 thread_id threadID = message.get_cpu_state.thread; local
2045 thread_id threadID = message.set_signal_masks.thread; local
2103 thread_id threadID = message.get_signal_masks.thread; local
2228 thread_id threadID = message.start_profiler.thread; local
2337 thread_id threadID = message.stop_profiler.thread; local
2866 _user_debug_thread(thread_id threadID) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/intel_810/
H A Daccelerant.cpp132 thread_id threadID = spawn_thread(SuppressArtifacts, local
135 result = resume_thread(threadID);

Completed in 247 milliseconds

12