-
Notifications
You must be signed in to change notification settings - Fork 7
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
Comparison with ClonableChild crate #9
Comments
Oh cool! Agreed that they're very similar use cases. Some scattered thoughts along the lines you mentioned:
|
Actually I'm not sure setting a "this child has already exited flag" will be good enough in your API. I could call I just shipped some changes to always use |
Thanks for the detailed explanation. At first I thought about patching up Just out of curiosity, you never saw |
Sadly I never saw it. There was some discussion about the problem on the |
Will close for now, but let me know if anything changes. I'd be happy to work together to port fixes. |
Hi,
Just saw this crate, and notice that it is virtually doing the same as my
clonablechild
crate. Just wanting to check in if there is any difference that I miss?Since it's a very isolated and small problem it should more or less only be one correct solution I think. Thus we could maybe combine forces? If your library does stuff better I will remove mine.
I also put the standard
Child
in aMutex
. But where you seem to use a special procedure to wait I use the built in wait. And where you use the built in kill method I have my own kill implementation for when theMutex
is already taken.I probably have the reused pid race condition you talk about in your README.
The text was updated successfully, but these errors were encountered: