summaryrefslogtreecommitdiff
path: root/xmake/core/base/scheduler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-28 22:34:52 +0800
committerruki <[email protected]>2019-11-28 09:29:14 +0800
commit5419b4eb3112fbe9b43249c62f9e319518caa71e (patch)
tree19c84c95aa945d37cfb05393b2e9f25681ebc837 /xmake/core/base/scheduler.lua
parent6cde799f0a1ebb3151e0880299a0dce75567f764 (diff)
add sched_tcp/echo tests
Diffstat (limited to 'xmake/core/base/scheduler.lua')
-rw-r--r--xmake/core/base/scheduler.lua13
1 files changed, 3 insertions, 10 deletions
diff --git a/xmake/core/base/scheduler.lua b/xmake/core/base/scheduler.lua
index 1d46850bf..426523a68 100644
--- a/xmake/core/base/scheduler.lua
+++ b/xmake/core/base/scheduler.lua
@@ -27,16 +27,9 @@ local option = require("base/option")
local string = require("base/string")
local coroutine = require("base/coroutine")
--- TODO
--- the socket loop coroutine
-function scheduler:_co_loop_socket()
- print("socket loop")
-end
-
--- TODO
--- the process loop coroutine
-function scheduler:_co_loop_process()
- print("process loop")
+-- TODO we need support socket/pipe io and processes as same time
+function scheduler:_co_poller_loop()
+ print("poller loop")
end
-- get all ready coroutines