Shared Lock

This is the Dragon shared lock interface for Python

Classes

class DragonLock

Bases: object

Cython interface for general dragon lock API

static attach(memobj)
destroy()
detach()
static init(kind, memobj)
lock()
static size(kind)
try_lock()
unlock()
class FIFOLock

Bases: object

Cython interface for Greedy Shared Dragon Locks

static attach(memobj)
destroy()
detach()
static init(memobj)
lock()
static size()
try_lock()
unlock()
class GreedyLock

Bases: object

Cython interface for Greedy Shared Dragon Locks

static attach(memobj)
destroy()
detach()
static init(memobj)
lock()
static size()
try_lock()
unlock()
class Type

Bases: Enum

An enumeration.

FIFO = 0
FIFOLITE = 1
GREEDY = 2