diff options
| author | ruki <[email protected]> | 2017-05-31 14:54:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-31 14:54:09 +0800 |
| commit | d830d323ae5b3bd46a8c66a6276f1696576cb9f9 (patch) | |
| tree | b5ebe1544fa075d156f8740bd341c2d7fcf090c1 /xmake/core/sandbox/modules/process.lua | |
| parent | eac4b74e3c8dfce984f6f7851e3c83cb98cc486c (diff) | |
improve process.runjobs and support timer
Diffstat (limited to 'xmake/core/sandbox/modules/process.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/process.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/process.lua b/xmake/core/sandbox/modules/process.lua index e69a05e21..f8f2a2a7e 100644 --- a/xmake/core/sandbox/modules/process.lua +++ b/xmake/core/sandbox/modules/process.lua @@ -139,10 +139,10 @@ function sandbox_process.asyncrun(task, waitchars) end -- run jobs with processes -function sandbox_process.runjobs(jobfunc, total, comax) +function sandbox_process.runjobs(jobfunc, total, comax, timeout, timer) -- run them - local ok, errors = process.runjobs(jobfunc, total, comax) + local ok, errors = process.runjobs(jobfunc, total, comax, timeout, timer) if not ok then raise(errors) end |
