-
Hello, what would be general recommendations for forking from the event loop? Unfortunately I couldn't find anything in the docs. I naively tried forking from within a Sync do
Process.fork do
end
end but it raises an error when a forked process finishes:
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ioquatix
Jun 10, 2022
Replies: 1 comment 3 replies
-
Generally speaking, forking is very hard to do correctly in the scope of a scheduler, so I would advise to use |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
zhulik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generally speaking, forking is very hard to do correctly in the scope of a scheduler, so I would advise to use
Process.spawn
. Do you mind explaining why you want to fork?