summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2016-09-06 21:15:32 -0400
committerRusty Wagner <rusty@vector35.com>2016-09-06 21:15:32 -0400
commitf5e59b13b726a0d154dbe9351010ed3bd4b2b9e6 (patch)
treeaf2e1c90555e486dc35820d557ca06c2d68cedff /binaryninjacore.h
parent2e2c0fad51051871642f10f57cc0db96dd58a2ad (diff)
Add APIs for interactive work queue and worker thread count
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 1fe0ad5a..960390fa 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -1968,6 +1968,10 @@ extern "C"
// Worker thread queue management
BINARYNINJACOREAPI void BNWorkerEnqueue(void* ctxt, void (*action)(void* ctxt));
BINARYNINJACOREAPI void BNWorkerPriorityEnqueue(void* ctxt, void (*action)(void* ctxt));
+ BINARYNINJACOREAPI void BNWorkerInteractiveEnqueue(void* ctxt, void (*action)(void* ctxt));
+
+ BINARYNINJACOREAPI size_t BNGetWorkerThreadCount(void);
+ BINARYNINJACOREAPI void BNSetWorkerThreadCount(size_t count);
#ifdef __cplusplus
}