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?
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to