SwiftclassVDAF

class VDAF.Lock

Members 6

  1. deinitdeinit
  2. fieldlet storage: os.OSAllocatedUnfairLock<()>
  3. funclock() -> ()
  4. funcunlock() -> ()
  5. funcwithLock<A>(() throws -> A) throws -> A
  6. initVDAF.Lock.__allocating_init() -> VDAF.Lock
class Lock {
    let storage: os.OSAllocatedUnfairLock<()>

    init()

    final func withLock<A>(_: () throws -> A) throws -> A
    final func lock()
    final func unlock()

    deinit
}