diff options
| author | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
| commit | 7ddecb012e558dacc0c9aae762c43c3c863a372c (patch) | |
| tree | fa7d7a3795f4f6bf6be8dcd4f805f471e68de191 /xmake/core/base/pipe.lua | |
| parent | deaabcd162bebe9312201bcaac48404fd8a1925a (diff) | |
fix wait 0wait
Diffstat (limited to 'xmake/core/base/pipe.lua')
| -rw-r--r-- | xmake/core/base/pipe.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/pipe.lua b/xmake/core/base/pipe.lua index 137f9c779..9a896afba 100644 --- a/xmake/core/base/pipe.lua +++ b/xmake/core/base/pipe.lua @@ -235,7 +235,7 @@ end -- wait pipe events -- -- @param events the events to wait, e.g. pipe.EV_READ, pipe.EV_WRITE --- @param timeout the timeout in milliseconds, -1 for infinite +-- @param timeout the timeout in milliseconds, -1 for infinite, 0 to check without waiting -- @return the received events, or 0 on timeout -- function _instance:wait(events, timeout) |
