【修改】修改名称

This commit is contained in:
niubinghui
2024-09-06 18:59:12 +08:00
parent 1d9e187624
commit f32a799e7d
15 changed files with 2 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ extern "C"
struct stellar
{
struct plugin_manager_schema *plug_mgr;
struct lua_plugin_manage_schema * lua_plug_mgr;
struct lua_plugin_manage * lua_plug_mgr;
int thread_num;
};
@@ -59,11 +59,6 @@ int stellar_plugin_manager_schema_set(struct stellar *st, struct plugin_manager_
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
int session_get_current_thread_id(struct session *sess)
{
return 0;
}
int stellar_get_worker_thread_num(struct stellar *st)
{
return st->thread_num;
@@ -71,7 +66,7 @@ int stellar_get_worker_thread_num(struct stellar *st)
int stellar_get_current_thread_id(struct stellar *st)
{
return 0;
return 3;
}
#pragma GCC diagnostic pop