Declaration

func withWriteLock<E, R>(_ body: () throws(E) -> R) throws(E) -> R where E : Error

Parameters

body

The operation to perform.

Return Value

The value returned by the operation.

See Also

Locking