#include <QThread.h>
A very useful and commonly used form of wait condition is one combined with a count that signals when it reaches zero. You can think of it as similar to an inverse semaphore, but obviously it's not an exact fit because unlike semaphores there is no limit to the count.
By default, there is no checking of the count value for speed - however, you may enable checking for the count falling below zero. The exception is thrown with FXERRH_ISDEBUG and so is not language translated for the user's benefit.
Definition at line 752 of file QThread.h.
Public Member Functions | |
FXZeroedWait (int initcount=0) | |
operator int () const | |
int | operator= (int i) |
int | operator++ (int) |
int | operator++ () |
int | operator+= (int i) |
int | operator-- (int) |
int | operator-- () |
int | operator-= (int i) |
bool | wait (FXuint time=FXINFINITE) |
void | setChecks (bool d) |