return true from thread method as per documented specification

This commit is contained in:
payonel 2017-09-07 10:34:47 -07:00
parent fc486d4bd2
commit ae501a859d

View File

@ -86,6 +86,7 @@ function box_thread:resume()
if coroutine.status(self.pco.root) == "suspended" and not mt.reg then
mt.register(0)
end
return true
end
function box_thread:suspend()
@ -98,6 +99,7 @@ function box_thread:suspend()
if pco_status == "running" or pco_status == "normal" then
mt.coma()
end
return true
end
function box_thread:status()