On Oct 28 2012, Felix wrote:
From: Felix <[email protected]> Subject: [PATCH]
process-fork: option to kill all but the current thread in the child
process Date: Sun, 28 Oct 2012 09:10:41 -0400 (EDT)
This patch allows "process-fork" to kill all existing threads but the
current one when running the child process.
Just reviewed that one.
It's going to do MOST of the job.
However users still ought to be vary: Threads blocked on
mutex's, mailboxes etc. will not be killed.
This may be a problem if unblocked later on.
Unfortunately I don't have a good suggestion how this could be
handled. Except if we had a weak referencing table of all threads
which haven't terminated.
/Jörg
........
_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers