summaryrefslogtreecommitdiff
path: root/xmake/core/base/poller.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-23 00:36:35 +0800
committerruki <[email protected]>2022-07-23 00:36:35 +0800
commitfba309ca9f8e3fc8ff2c90f821b6ee501096fdbd (patch)
tree0e53adfbccdddddab8dee2879d33b1a7f2d48701 /xmake/core/base/poller.lua
parent5b194189014255d7d6bed74531e4610b45f2fe34 (diff)
add fwatcher stub
Diffstat (limited to 'xmake/core/base/poller.lua')
-rw-r--r--xmake/core/base/poller.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/core/base/poller.lua b/xmake/core/base/poller.lua
index f8e216f26..894e780c2 100644
--- a/xmake/core/base/poller.lua
+++ b/xmake/core/base/poller.lua
@@ -26,9 +26,10 @@ local io = require("base/io")
local string = require("base/string")
-- the poller object type, @see tbox/platform/poller.h
-poller.OT_SOCK = 1
-poller.OT_PIPE = 2
-poller.OT_PROC = 3
+poller.OT_SOCK = 1
+poller.OT_PIPE = 2
+poller.OT_PROC = 3
+poller.OT_FWATCHER = 4
-- the poller events, @see tbox/platform/poller.h
poller.EV_POLLER_RECV = 1