is(Mutex == shared) == false?
Sean Kelly
sean at invisibleduck.org
Mon Feb 10 21:58:14 PST 2014
On Saturday, 8 February 2014 at 16:46:26 UTC, Stanislav Blinov
wrote:
> Also, on a related note, is there any benefit in having
> core.sync primitives not final? What would be a use case to
> inherit from e.g. Mutex or Condition? GC does that with Mutex,
> but only to devirtualize all methods :)
>
> Maybe we should also consider making them final along the way?
Probably. The new std.concurrency patch overrides Condition, but
mostly for convenience. I think those methods not being virtual
was an oversight on my part.
More information about the Digitalmars-d
mailing list