SwiftclassConversationKit

class ConversationKit.Lock

Members 9

  1. deinitdeinit
  2. fieldvar _lock: UnsafeMutablePointer<os_unfair_lock_s>+0x10
  3. funcassertNotOwned() -> ()
  4. funcassertOwned() -> ()
  5. funclock() -> ()
  6. functryLock() -> Bool
  7. funcunlock() -> ()
  8. funcwithLock<A>(() throws -> A) throws -> A
  9. initConversationKit.Lock.__allocating_init() -> ConversationKit.Lock
class Lock {
    var _lock: Swift.UnsafeMutablePointer<__C.os_unfair_lock_s>

    init()

    final func tryLock() -> Swift.Bool
    final func withLock<A>(_: () throws -> A) throws -> A
    final func assertOwned()
    final func assertNotOwned()
    final func lock()
    final func unlock()

    deinit
}