Does synchronized support recursive locking?
Alex Rønne Petersen
xtzgzorex at gmail.com
Wed Mar 14 06:05:03 PDT 2012
On 14-03-2012 13:24, Steven Schveighoffer wrote:
> On Tue, 13 Mar 2012 16:26:08 -0400, Alex Rønne Petersen
> <xtzgzorex at gmail.com> wrote:
>
>> What the title says. It seems that core.sync.mutex does, but not sure
>> about the synchronized statement.
>
> Yes. A simple test would have shown you that ;) But it would be good to
> put this in the docs.
>
> -Steve
From experience, trusting tests when it comes to anything related to
threads tends to be a bad idea, so I figured it'd be better to ask. :)
I'll see about updating the docs.
--
- Alex
More information about the Digitalmars-d-learn
mailing list