help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] [PATCH] kernel: Check the Semaphore before queuing


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] [PATCH] kernel: Check the Semaphore before queuing the interrupt
Date: Fri, 24 Jan 2014 12:33:34 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jan 20, 2014 at 05:30:52PM +0100, Paolo Bonzini wrote:
> The patch looks good.
> 
> Alternatively, what about this?  It is a bit clearer to me, but the
> logic is pretty much the same.

Okay, we will go with this version. I thought I saw it failing once
but I might have still used an older kernel.

The "hammer" would be to have another Semaphore that is signalled
by the forked process and waited on by the outer one. This way we
are sure that the two code paths don't execute in parallel?




reply via email to

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