Re: [Plplot-devel] The status of the wxwidgets IPC development

2017-02-26 Thread p.d.rosenberg
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

Re: [Plplot-devel] The status of the wxwidgets IPC development

2017-02-26 Thread Alan W. Irwin
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