-
Notifications
You must be signed in to change notification settings - Fork 3
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
export slaves
#2
Comments
First of all, I would just hate to break the encapsulation by exposing the internals of the library. I don't clearly understand your case. Have you tried running Snap from a forked slave-thread? |
@nikita-volkov I have tried what you suggest. Killing the tid spawned by I know Snap is swallowing the Snap is using forkIO and forkOn to spawn the worker, does there need to be an unbroken chain of |
Exactly. For "slave-thread" to work the way you expect, The mechanics of thread-hierarchy are determined by the calling thread. Once you get an intermediate
I doubt there is any issue with that particularly.
Can you elaborate on that? |
Nothing novel here, it's the outcome of what you said is the case.
That is, forking Snap's I don't yet know how to remedy this except for the framework to let us provide our own forking functions. |
What I mean is that I don't quite understand, which behaviour you expect. As much as I get it, it seems like everything behaves by design.
What I would expect from SlaveThread in such case is to deliver the |
@nikita-volkov sorry, I don't think it's a problem with |
Having a problem getting Snap and slave-thread to cooperate, we could potentially harvest the children if we had access to the MultiMap.
If you have an alternative or idea for making this work properly, that would be very much appreciated.
The text was updated successfully, but these errors were encountered: