Module mecca.reactor.sync.lock
Implements a reactor aware mutex
Structs
Name | Description |
---|---|
Lock
|
A reactor aware non-recursive simple mutex. |
RAIILocker
|
A RAII wrapper for a lock |
SharedLock
|
Shared access lock |
UnfairSharedLock
|
Unfair shared access lock |
Aliases
Name | Type | Description |
---|---|---|
ExclusiveLocker
|
RAIILocker!(mecca.reactor.sync.lock.SharedLock,"acquireExclusive","releaseExclusive")
|
Locker wrapper for a SharedLock with an exclusive lock |
Locker
|
RAIILocker!(mecca.reactor.sync.lock.Lock,"acquire","release")
|
Locker wrapper for the standard lock |
SharedLocker
|
RAIILocker!(mecca.reactor.sync.lock.SharedLock,"acquireShared","releaseShared")
|
Locker wrapper for a SharedLock with a shared lock |