Hi Alan
Sorry, I still haven't had chance to look at your code (poorly 4 year old over
the weekend). But you are definitely correct to not use a sleep to avoid a
race. I think particularly in situations where the system is under strain all
bets are off regarding timings. And like you said, it's
On 2017-02-25 17:44-0800 Alan W. Irwin wrote:
> However, I certainly agree mutual use of the same resource (shared
> memory) is a tricky world. And now that you have encouraged me to
> think about races, I discovered there is indeed a race condition that
> could explain this bug. I have now work