Module shared_lock

Source

Structs§

LockGuard
An RAII implementation of a “scoped lock” for a ZooKeeper distributed lock. When this structure is dropped (falls out of scope), the lock will be unlocked.

Functions§

lock
Fully distributed locks that are globally synchronous, meaning at any snapshot in time no two clients think they hold the same lock.