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

123

/haiku/src/apps/debugger/user_interface/cli/commands/
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);
H A DCliStopCommand.cpp50 long threadID = strtol(argv[1], &endPointer, 0); local
51 if (*endPointer != '\0' || threadID < 0) {
58 thread = team->ThreadByID(threadID);
60 printf("Error: No thread with ID %ld\n", threadID);
/haiku/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/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/src/apps/debugger/user_interface/gui/expression_eval_window/
H A DExpressionEvaluationWindow.cpp124 int32 threadID; local
125 if (message->FindInt32("thread", &threadID) != B_OK)
126 threadID = -1;
128 _HandleThreadSelectionChanged(threadID);
155 int32 threadID; local
156 if (message->FindInt32("thread", &threadID) == B_OK)
157 _HandleThreadAdded(threadID);
163 int32 threadID; local
164 if (message->FindInt32("thread", &threadID) == B_OK)
165 _HandleThreadRemoved(threadID);
171 int32 threadID; local
179 int32 threadID; local
307 _HandleThreadSelectionChanged(int32 threadID) argument
371 _HandleThreadAdded(int32 threadID) argument
407 _HandleThreadRemoved(int32 threadID) argument
426 _HandleThreadStateChanged(int32 threadID) argument
442 _HandleThreadStackTraceChanged(int32 threadID) argument
[all...]
H A DExpressionEvaluationWindow.h71 void _HandleThreadSelectionChanged(int32 threadID);
74 void _HandleThreadAdded(int32 threadID);
75 void _HandleThreadRemoved(int32 threadID);
76 void _HandleThreadStateChanged(int32 threadID);
77 void _HandleThreadStackTraceChanged(int32 threadID);
/haiku/src/system/kernel/scheduler/
H A Dscheduler_tracing.cpp125 int64 threadID;
127 || !evaluate_debug_expression(argv[1], (uint64*)&threadID, true)) {
132 if (threadID <= 0) {
133 kprintf("Invalid thread ID: %" B_PRId64 "\n", threadID);
165 if (entry->ThreadID() == threadID) {
200 } else if (entry->PreviousThreadID() == threadID) {
233 if (entry->ThreadID() != threadID)
248 if (entry->ThreadID() != threadID)
273 kprintf("thread %" B_PRId64 " never ran.\n", threadID);
277 kprintf("scheduling statistics for thread %" B_PRId64 ":\n", threadID);
[all...]
/haiku/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/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/headers/private/kernel/vm/
H A Dvm_types.h229 thread_id threadID = thread_get_current_thread_id(); local
231 threadID, -1);
243 thread_id threadID = thread_get_current_thread_id(); local
245 threadID);
246 if (previousThread != threadID) {
270 thread_id threadID = thread_get_current_thread_id(); local
272 threadID, expectedPreviousThread);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DThreadListView.cpp49 bool Update(thread_id threadID) argument
68 if (threadID >= 0 && oldThread->ID() == threadID)
283 thread_id threadID; local
284 if (message->FindInt32("thread", &threadID) != B_OK)
285 threadID = -1;
287 fThreadsTableModel->Update(threadID);
/haiku/src/bin/debug/profile/
H A Dprofile.cpp158 status_t AddThread(thread_id threadID) argument
161 status_t error = get_thread_info(threadID, &threadInfo);
165 return AddThread(threadInfo.team, threadID, threadInfo.name);
168 status_t AddThread(team_id teamID, thread_id threadID, const char* name) argument
170 if (FindThread(threadID) != NULL)
177 Thread* thread = new(std::nothrow) Thread(threadID, name, team);
207 void RemoveThread(thread_id threadID) argument
209 if (Thread* thread = FindThread(threadID)) {
224 Thread* FindThread(thread_id threadID) const
227 if (thread->ID() == threadID)
657 thread_id threadID = -1; local
849 thread_id threadID = load_program(programArgs, programArgCount, local
[all...]
/haiku/src/kits/debugger/target_host_interface/local/
H A DLocalTargetHostInterface.h24 virtual status_t Attach(team_id id, thread_id threadID,
/haiku/src/kits/debugger/target_host_interface/network/
H A DNetworkTargetHostInterface.cpp72 NetworkTargetHostInterface::Attach(team_id teamID, thread_id threadID, argument
H A DNetworkTargetHostInterface.h24 virtual status_t Attach(team_id id, thread_id threadID,
/haiku/src/kits/debugger/model/
H A DThread.cpp16 Thread::Thread(Team* team, thread_id threadID) argument
19 fID(threadID),
/haiku/headers/private/kernel/
H A DUserTimer.h168 ThreadTimeUserTimer(thread_id threadID);
265 int32 _user_create_timer(clockid_t clockID, thread_id threadID,
268 status_t _user_delete_timer(int32 timerID, thread_id threadID);
269 status_t _user_get_timer(int32 timerID, thread_id threadID,
271 status_t _user_set_timer(int32 timerID, thread_id threadID,
/haiku/src/system/kernel/
H A DUserEvent.cpp282 thread_id threadID = thread_create_thread(fCreationAttributes, false); local
283 if (threadID >= 0)
284 resume_thread(threadID);
H A DUserTimer.cpp73 status_t LockAndGetTimer(thread_id threadID, int32 timerID, argument
79 if (threadID >= 0) {
80 thread = Thread::GetAndLock(threadID);
887 ThreadTimeUserTimer::ThreadTimeUserTimer(thread_id threadID) argument
889 fThreadID(threadID),
1690 _user_create_timer(clockid_t clockID, thread_id threadID, uint32 flags, argument
1720 if (threadID >= 0) {
1721 thread = Thread::GetAndLock(threadID);
1737 _user_delete_timer(int32 timerID, thread_id threadID) argument
1746 status_t error = timerLocker.LockAndGetTimer(threadID, timerI
1765 _user_get_timer(int32 timerID, thread_id threadID, struct user_timer_info* userInfo) argument
1798 _user_set_timer(int32 timerID, thread_id threadID, bigtime_t startTime, bigtime_t interval, uint32 flags, struct user_timer_info* userOldInfo) argument
[all...]
/haiku/src/apps/debugger/user_interface/cli/
H A DCliContext.cpp411 int32 threadID; local
412 message->FindInt32("thread", &threadID);
419 printf("[new thread: %" B_PRId32 " \"%s\"]\n", threadID,
424 threadID, threadName);
429 ::Thread* thread = fTeam->ThreadByID(threadID);
433 threadID, threadName);
441 if (threadID == fCurrentThread->ID()) {
443 ::Thread* thread = fTeam->ThreadByID(threadID);
/haiku/headers/private/debugger/model/
H A DThread.h46 Thread(Team* team, thread_id threadID);
/haiku/src/kits/debugger/target_host_interface/
H A DTargetHostInterface.cpp257 thread_id threadID = options.thread; local
259 threadID = teamID;
272 error = LoadCore(options.coreFilePath, interface, threadID);
285 error = debugger->Init(interface, threadID,
/haiku/src/system/kernel/debug/
H A Duser_debugger.cpp1058 user_debug_thread_created(thread_id threadID) argument
1070 message.new_thread = threadID;
1078 user_debug_thread_deleted(team_id teamID, thread_id threadID) argument
1121 message.origin.thread = threadID;
1616 thread_id threadID, port_id &threadDebugPort)
1621 Thread* thread = Thread::GetAndLock(threadID);
1809 thread_id threadID = message.set_thread_flags.thread; local
1815 nubThread->id, threadID, flags));
1818 Thread* thread = Thread::GetAndLock(threadID);
1839 thread_id threadID; local
1615 debug_nub_thread_get_thread_debug_port(Thread *nubThread, thread_id threadID, port_id &threadDebugPort) argument
1886 thread_id threadID = message.set_cpu_state.thread; local
1914 thread_id threadID = message.get_cpu_state.thread; local
2066 thread_id threadID = message.set_signal_masks.thread; local
2124 thread_id threadID = message.get_signal_masks.thread; local
2249 thread_id threadID = message.start_profiler.thread; local
2359 thread_id threadID = message.stop_profiler.thread; local
2920 _user_debug_thread(thread_id threadID) argument
[all...]
/haiku/src/add-ons/accelerants/intel_810/
H A Daccelerant.cpp132 thread_id threadID = spawn_thread(SuppressArtifacts, local
135 result = resume_thread(threadID);

Completed in 314 milliseconds

123