Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't seem to work with fork() #17

Closed
philippkeller opened this issue Dec 16, 2016 · 2 comments
Closed

doesn't seem to work with fork() #17

philippkeller opened this issue Dec 16, 2016 · 2 comments

Comments

@philippkeller
Copy link

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

@BurntSushi
Copy link
Owner

BurntSushi commented Dec 16, 2016 via email

@philippkeller
Copy link
Author

I was not sure if the issue was due to chan or chan-signal but I moved it now over to chan-signal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants