diff options
| author | ruki <[email protected]> | 2020-01-30 00:31:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-01-29 21:09:11 +0800 |
| commit | 26d6a87852a79d4c512a8335b0e80f6ddcadedbf (patch) | |
| tree | d15515f41c04626cb2b0e0be9735482e48da77b4 /xmake/core/base/process.lua | |
| parent | a3184f00e0511013abadc304c882571db2282035 (diff) | |
rewrite scheduler
Diffstat (limited to 'xmake/core/base/process.lua')
| -rw-r--r-- | xmake/core/base/process.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/core/base/process.lua b/xmake/core/base/process.lua index 68d02466b..0d4cdbf26 100644 --- a/xmake/core/base/process.lua +++ b/xmake/core/base/process.lua @@ -54,10 +54,15 @@ function _subprocess:name() end -- get cdata of process -function _subprocess:cproc() +function _subprocess:cdata() return self._PROC end +-- get poller object type, poller.OT_PROC +function _subprocess:otype() + return 3 +end + -- wait subprocess -- -- @param timeout the timeout |
