[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #877, hopefully
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix #877, hopefully |
Date: |
Fri, 14 Feb 2014 12:49:28 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Peter Bex <address@hidden> [140213 21:28]:
> Hi all,
>
> I think I finally figured out the problem of #877; because it's sending
> alternate signals from threads, some signals were probably arriving
> while the child process' handler was adding another signal to the queue.
> This would in turn cause the position in the queue to get corrupted.
>
> At least, I think that's what was happening... Concurrency makes my
> brain hurt. I ran a few tests and I can't trigger the signal-test error
> anymore. But that was also the case with my previous patch, so it could
> be dumb "luck". Let's push it and see if Salmonella starts complaining.
> It would also be great if everyone tests it on their multi-CPU boxes.
Makes sense to me, I have pushed it.
Thank you!
--
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu