diff options
| author | ruki <[email protected]> | 2019-12-16 22:34:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-16 09:24:36 +0800 |
| commit | 4ed6741dd366d1e48d30356657bc77d40e0ac2ca (patch) | |
| tree | e070e5be51847df31c5473cb9f3957fc5ea192d8 /core/src/xmake/machine.c | |
| parent | 77c589d08366ec183f03e54106f0899ec127feb9 (diff) | |
impl scheduler.stop
Diffstat (limited to 'core/src/xmake/machine.c')
| -rw-r--r-- | core/src/xmake/machine.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |
