summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-05-22 10:25:31 +0800
committeryangwei <[email protected]>2024-05-22 10:25:31 +0800
commitfdc699228d0cd1f75510d8a06f1b5455f2e7b81d (patch)
treec3b1f4b709a467083fbf645f43a86727562cf6d4 /include
parent76e27dd9685041ef3e0eaaa3421c5c31322c1374 (diff)
✨ feat(stellar.h update): backport stellar thread api
Diffstat (limited to 'include')
-rw-r--r--include/stellar/stellar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stellar/stellar.h b/include/stellar/stellar.h
index 5907dfd..491eab3 100644
--- a/include/stellar/stellar.h
+++ b/include/stellar/stellar.h
@@ -3,6 +3,9 @@
struct session;
struct stellar;
+int stellar_get_worker_thread_num(struct stellar *st);
+int stellar_get_current_thread_id(struct stellar *st);
+
//return plugin_env
typedef void *plugin_on_load_func(struct stellar *st);
typedef void plugin_on_unload_func(void *plugin_env);