From 4ed6741dd366d1e48d30356657bc77d40e0ac2ca Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 16 Dec 2019 22:34:06 +0800 Subject: impl scheduler.stop --- core/src/xmake/machine.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/src/xmake/machine.c') diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index 4fdc73204..28903ec3a 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -128,6 +128,7 @@ tb_int_t xm_io_socket_close(lua_State* lua); tb_int_t xm_io_poller_insert(lua_State* lua); tb_int_t xm_io_poller_modify(lua_State* lua); tb_int_t xm_io_poller_remove(lua_State* lua); +tb_int_t xm_io_poller_spank(lua_State* lua); tb_int_t xm_io_poller_support(lua_State* lua); tb_int_t xm_io_poller_wait(lua_State* lua); @@ -279,6 +280,7 @@ static luaL_Reg const g_io_functions[] = , { "poller_insert", xm_io_poller_insert } , { "poller_modify", xm_io_poller_modify } , { "poller_remove", xm_io_poller_remove } +, { "poller_spank", xm_io_poller_spank } , { "poller_support", xm_io_poller_support } , { "poller_wait", xm_io_poller_wait } , { tb_null, tb_null } -- cgit v1.3.1