Libevent2ManualEvent

Undocumented in source.

Constructors

this
this(Libevent2Driver driver)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

acquire
void acquire()
Undocumented in source. Be warned that the author may not have intended to support it.
amOwner
bool amOwner()
Undocumented in source. Be warned that the author may not have intended to support it.
emit
void emit()
Undocumented in source. Be warned that the author may not have intended to support it.
onThreadShutdown
void onThreadShutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
release
void release()
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.
wait
int wait(int reference_emit_count)
Undocumented in source. Be warned that the author may not have intended to support it.
wait
int wait(Duration timeout, int reference_emit_count)
Undocumented in source. Be warned that the author may not have intended to support it.
waitUninterruptible
int waitUninterruptible(int reference_emit_count)
Undocumented in source. Be warned that the author may not have intended to support it.
waitUninterruptible
int waitUninterruptible(Duration timeout, int reference_emit_count)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

emitCount
int emitCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Libevent2Object

m_driver
Libevent2Driver m_driver;
Undocumented in source.
~this
~this()
Undocumented in source.
onThreadShutdown
void onThreadShutdown()
Undocumented in source. Be warned that the author may not have intended to support it.

From ManualEvent

emitCount
int emitCount [@property getter]

A counter that is increased with every emit() call

emit
void emit()

Emits the signal, waking up all owners of the signal.

wait
void wait()

Acquires ownership and waits until the signal is emitted.

wait
int wait(int reference_emit_count)

Acquires ownership and waits until the emit count differs from the given one.

wait
int wait(Duration timeout, int reference_emit_count)

Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached.

waitUninterruptible
int waitUninterruptible(int reference_emit_count)
int waitUninterruptible(Duration timeout, int reference_emit_count)

Same as wait, but defers throwing any InterruptException.

Meta