【修改】修改名称
This commit is contained in:
Binary file not shown.
@@ -13,7 +13,7 @@ extern "C"
|
|||||||
struct stellar
|
struct stellar
|
||||||
{
|
{
|
||||||
struct plugin_manager_schema *plug_mgr;
|
struct plugin_manager_schema *plug_mgr;
|
||||||
struct lua_plugin_manage_schema * lua_plug_mgr;
|
struct lua_plugin_manage * lua_plug_mgr;
|
||||||
int thread_num;
|
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 push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
#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)
|
int stellar_get_worker_thread_num(struct stellar *st)
|
||||||
{
|
{
|
||||||
return st->thread_num;
|
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)
|
int stellar_get_current_thread_id(struct stellar *st)
|
||||||
{
|
{
|
||||||
return 0;
|
return 3;
|
||||||
}
|
}
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
Reference in New Issue
Block a user