You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to mix this chan module together with libc::fork() but somehow it doesn't work.
This is probably due to some difference between thread::spawn() and fork() but I just don't understand why it should not work.
Here's the example from the README adapted to fork(). Interestingly the INT signal works but the TERM not even though sdone is really moved into run
The text was updated successfully, but these errors were encountered:
On Dec 16, 2016 3:29 PM, "Philipp Keller" ***@***.***> wrote:
I'm trying to mix this chan module together with libc::fork() but somehow
it doesn't work.
This is probably due to some difference between thread::spawn() and fork()
but I just don't understand why it should not work.
Here's
<https://gist.github.com/philippkeller/38ff188ddb5aea01ce91ba5e00aefae2>
the example from the README adapted to fork(). Interestingly the INT
signal works but the TERM not even though sdone is really moved into run
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#17>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb34i6_VK0xbOoMshM931dcNHWvUCAGks5rIvSsgaJpZM4LPkSD>
.
I'm trying to mix this chan module together with
libc::fork()
but somehow it doesn't work.This is probably due to some difference between
thread::spawn()
andfork()
but I just don't understand why it should not work.Here's the example from the README adapted to fork(). Interestingly the
INT
signal works but theTERM
not even thoughsdone
is really moved intorun
The text was updated successfully, but these errors were encountered: