diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-07-22 16:20:36 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-07-24 18:03:27 -0400 |
| commit | 8025322857302744617508639990950630312249 (patch) | |
| tree | 8c9bf92f28ad02043faf4dd08b5376e3e7fc1e3b /binaryninjacore.h | |
| parent | 0368556296622756576449861940973500592131 (diff) | |
API for setting the current OS thread's name
For debugging threads when you have like 50 and want to find one at a glance
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 18bd2faf..3c45ff88 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -6619,6 +6619,8 @@ extern "C" BINARYNINJACOREAPI size_t BNGetWorkerThreadCount(void); BINARYNINJACOREAPI void BNSetWorkerThreadCount(size_t count); + BINARYNINJACOREAPI void BNSetThreadName(const char* name); + // Background task progress reporting BINARYNINJACOREAPI BNBackgroundTask* BNBeginBackgroundTask(const char* initialText, bool canCancel); BINARYNINJACOREAPI void BNFinishBackgroundTask(BNBackgroundTask* task); |
