ScopedLock

Proxy structure that keeps the monitor of the given object locked until it goes out of scope.

Any unshared members of the object are safely accessible during this time. The usual way to use it is by calling lock.

Constructors

this
this(shared(T) obj)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

unsafeGet

Members

Properties

unsafeGet
inout(T) unsafeGet [@property getter]

Returns an unshared reference to the locked object.

See Also

lock

Meta