Reputation: 3569
Most solutions here use lanes.gen("*",{globals = _G},func)
. When I run it, I get can't copy non-deep full userdata across lanes
. Maybe this is because of io.stderr, io.stdout, io.stdin
which are file
type or lanes.core.cancel_error
which is userdata
type or lanes.core timer_gateway
. How to use {globals = _G} or workaround? Is it a bug?
Upvotes: 0
Views: 135