chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] process-fork: option to kill all but the c


From: Jörg F . Wittenberger
Subject: Re: [Chicken-hackers] [PATCH] process-fork: option to kill all but the current thread in the child process
Date: 29 Oct 2012 14:23:07 +0100

On Oct 28 2012, Felix wrote:

From: Felix <address@hidden> 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
........





reply via email to

[Prev in Thread] Current Thread [Next in Thread]