Declaration

func withLayerWriteLock<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.

Discussion

This does not by itself protect mutable contents of individual layers.

See Also

Locking