From fdc699228d0cd1f75510d8a06f1b5455f2e7b81d Mon Sep 17 00:00:00 2001 From: yangwei Date: Wed, 22 May 2024 10:25:31 +0800 Subject: ✨ feat(stellar.h update): backport stellar thread api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/stellar/stellar.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3