RecursiveMutex
public class RecursiveMutex: LockableSwift wrapper class for pthread_mutex_t.
Note that this is a recursive version.
Seealso
Locakble- 
                  
                  
 See moreRecursiveMutexerrors.DeclarationSwift public enum Error: Swift.Error
- 
                  
                  Initializes a recursive mutex object. Throws RecursiveMutex.Erroron failure.DeclarationSwift public required init() throws
- 
                  
                  Locks the recursive mutex. DeclarationSwift public func lock()
- 
                  
                  Unlocks the recursive mutex. DeclarationSwift public func unlock()
- 
                  
                  Tries to lock the recursive mutex. DeclarationSwift public func tryLock() -> BoolReturn Valuetrueif the recursive mutex was successfully locked, otherwisefalse.
 View on GitHub
View on GitHub RecursiveMutex Class Reference
        RecursiveMutex Class Reference