Inspect/Manipulate threads of debugged process.
int idaapi get_thread_qty |
( |
void |
| ) |
|
|
inline |
Get number of threads.
Type | Synchronous function |
Notification | none (synchronous function) |
Get the ID of a thread.
Type | Synchronous function |
Notification | none (synchronous function) |
- Parameters
-
- Returns
- NO_THREAD if the thread doesn't exist.
Get current thread ID.
Type | Synchronous function |
Notification | none (synchronous function) |
Select the given thread as the current debugged thread.
All thread related execution functions will work on this thread. The process must be suspended to select a new thread.
Type | Synchronous function - available as request |
Notification | none (synchronous function) |
- Parameters
-
tid | ID of the thread to select |
- Returns
- false if the thread doesn't exist.
Suspend thread.
Suspending a thread may deadlock the whole application if the suspended was owning some synchronization objects.
Type | Synchronous function - available as request |
Notification | none (synchronous function) |
- Parameters
-
- Return values
-
-1 | network error |
0 | failed |
1 | ok |
Resume thread.
Type | Synchronous function - available as request |
Notification | none (synchronous function) |
- Parameters
-
- Return values
-
-1 | network error |
0 | failed |
1 | ok |