Some Issues With Synchronized

Sean Kelly sean at invisibleduck.org
Wed Jan 4 12:11:11 PST 2012


On Dec 23, 2011, at 8:33 PM, Andrew Wiley wrote:

> On Fri, Dec 23, 2011 at 1:25 AM, Somedude <lovelydear at mailmetrash.com> wrote:
>> On windows XP with DMD 2.057, I get
>> Queue1: deadlock
>> Queue2: works
>> Queue3: works
> 
> Yes, I posted another (much shorter) post describing the issue with
> Queue1. In short, since Queue1 is a synchronized class, the
> constructor is synchronized (which is mostly worthless).

The ctor should really be shared.


More information about the Digitalmars-d mailing list