`shared Mutex`?

Artur Skawina via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 28 04:48:50 PST 2014


On 12/28/14 10:24, Aiden via Digitalmars-d-learn wrote:
> Is `shared` in a workable state?

No.

> Shouldn't Mutex, Condition, etc be shared since they are basically only ever useful when used in multiple threads?

Yes, but there are so many problems with 'shared' that
using it that way (even only as a type constructor) is
impractical.

artur


More information about the Digitalmars-d-learn mailing list