summaryrefslogtreecommitdiff
path: root/xmake/core/base/pipe.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-01 22:27:36 +0800
committerruki <[email protected]>2020-02-01 22:27:36 +0800
commit6da5429082cede5f1ad656e7619c79bd7d16406e (patch)
tree49f3714725a5995b34408dd0d6b7657ff4c01888 /xmake/core/base/pipe.lua
parent0c98171f212cf5943222d271f81fc7dc87058326 (diff)
fix wait for connecting pipe
Diffstat (limited to 'xmake/core/base/pipe.lua')
-rw-r--r--xmake/core/base/pipe.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/pipe.lua b/xmake/core/base/pipe.lua
index 7a09a6d15..5f3418965 100644
--- a/xmake/core/base/pipe.lua
+++ b/xmake/core/base/pipe.lua
@@ -32,7 +32,7 @@ local scheduler = require("base/scheduler")
-- the pipe events, @see tbox/platform/pipe.h
pipe.EV_READ = 1
pipe.EV_WRITE = 2
-pipe.EV_CONN = 4
+pipe.EV_CONN = 2
-- new a pipe file
function _instance.new(cdata, name)