ReadWriteMutex.this

this( Policy policy = Policy.PREFER_WRITERS ) @safe nothrow

Initializes a read/write mutex object with the supplied policy.

Parameters

policyThe policy to use.

Throws

SyncError on error.
this( Policy policy = Policy.PREFER_WRITERS ) shared @safe nothrow

ditto