mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -04:00
updated eris version
This commit is contained in:
parent
2be5daf0a2
commit
b169748cf6
Binary file not shown.
Binary file not shown.
@ -87,9 +87,6 @@ sandbox = {
|
|||||||
create = coroutine.create,
|
create = coroutine.create,
|
||||||
resume = function(co, ...) -- custom resume part for bubbling sysyields
|
resume = function(co, ...) -- custom resume part for bubbling sysyields
|
||||||
checkArg(1, co, "thread")
|
checkArg(1, co, "thread")
|
||||||
if co == coroutine.running() then
|
|
||||||
return nil, "cannot resume non-suspended coroutine"
|
|
||||||
end
|
|
||||||
local args = table.pack(...)
|
local args = table.pack(...)
|
||||||
while true do -- for consecutive sysyields
|
while true do -- for consecutive sysyields
|
||||||
debug.sethook(co, checkDeadline, "", 10000)
|
debug.sethook(co, checkDeadline, "", 10000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user