withLock(flags:_:)
Declaration
func withLock<R>(flags: OSAllocatedUnfairLockFlags, _ body: @Sendable () throws -> R) rethrows -> R where R : Sendablefunc withLock<R>(flags: OSAllocatedUnfairLockFlags, _ body: @Sendable () throws -> R) rethrows -> R where R : Sendable