pyinterp.geohash.lock

Lock handling used to synchronize resources

Classes

AbstractLock()

Abstract class implementing an exclusive lock.

Lock(path)

Handle a lock file by opening the file in exclusive mode: if the file already exists, access to this file will fail.

ObjectStorageLock(path[, file_system])

Manages a lock on a remote file system.

ProcessSynchronizer(path[, timeout, lock])

Provides synchronization using locks handled by the file system.

PuppetSynchronizer()

Simulates a synchronization.

Synchronizer()

Interface of Synchronizer.

ThreadSynchronizer()

Provides synchronization using thread locks.

Exceptions

LockError

Exception thrown by this module.