ReadWriteMutex.writer

Writer writer() @property @safe nothrow

Gets an object representing the writer lock for the associated mutex.

Returns

A writer sub-mutex.
shared(Writer) writer() @property shared @safe nothrow

ditto