withLock(_:)

Declaration

func withLock<R>(_ body: () throws -> R) rethrows -> R