[phobos] Typo (bug) in std.concurrency
Sean Kelly
sean at invisibleduck.org
Fri Jul 2 13:27:58 PDT 2010
On Jul 2, 2010, at 12:46 PM, Sean Kelly wrote:
> Hm... and then the mutex and condition variable in MessageBox would be declared as shared and I suppose everything would work. I was worried that making Mutex shared, for example, would add synchronized loads every time a handle was used, but it looks like I'm wrong. I can't recall what rule was provided for where synchronization is used for shared concrete variables... can someone refresh my memory? For example, the following code has no synchronized ops at all
I suppose the other option is that the compiler is already doing a lot more static analysis than I expected. Any chance this is it?
More information about the phobos
mailing list