Skip to main content
Apple Developer Docs
Fonts
Symbols
×
Foundation
/
NSLocking
/
withLock(_:)
withLock(_:)
Declaration
func
withLock
<
R
>(
_
body: ()
throws
->
R)
rethrows
->
R