RunnableLock

Instances of this class are used to ensure that an application cannot interfere with the locking mechanism used to implement asynchronous and synchronous communication between widgets and background threads.

Constructors

this
this(Runnable runnable, bool syncExec)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

done
bool done()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyAll
void notifyAll()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
void wait()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cond
Condition cond;
Undocumented in source.
runnable
Runnable runnable;
Undocumented in source.
syncExec
bool syncExec;
Undocumented in source.
thread
Thread thread;
Undocumented in source.
throwable
Exception throwable;
Undocumented in source.

Inherited Members

From Mutex

~this
~this()
Undocumented in source.
lock
void lock()

If this lock is not already held by the caller, the lock is acquired, then the internal counter is incremented by one.

unlock
void unlock()

Decrements the internal lock count by one. If this brings the count to zero, the lock is released.

tryLock
bool tryLock()

If the lock is held by another caller, the method returns. Otherwise, the lock is acquired if it is not already held, and then the internal counter is incremented by one.

handleAddr
pthread_mutex_t* handleAddr()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta