LockableIfaceProxy

Proxy object for gda.lockable.Lockable interface when a GObject has no applicable D binding

class LockableIfaceProxy : IfaceProxy , Lockable {}

Mixed In Members

From mixin LockableT!()

lock
void lock()

Locks lockable. If it is already locked by another thread, the current thread will block until it is unlocked by the other thread.

trylock
bool trylock()

Tries to lock lockable. If it is already locked by another thread, then it immediately returns FALSE, otherwise it locks lockable.

unlock
void unlock()

Unlocks lockable. This method should not be called if the current does not already holds a lock on lockable (having used gda.lockable.Lockable.lock or gda.lockable.Lockable.trylock).

Inherited Members

From Lockable

_getGType
GType _getGType()
lock
void lock()

Locks lockable. If it is already locked by another thread, the current thread will block until it is unlocked by the other thread.

trylock
bool trylock()

Tries to lock lockable. If it is already locked by another thread, then it immediately returns FALSE, otherwise it locks lockable.

unlock
void unlock()

Unlocks lockable. This method should not be called if the current does not already holds a lock on lockable (having used gda.lockable.Lockable.lock or gda.lockable.Lockable.trylock).