This method blocks the thread
making the call until some other thread releases it by calling signal on
the same event flag instance.
Signaturevirtual void wait (int tminms = -1) = 0;
Parameterstminms
The length of time, in milliseconds,
that the thread should remain blocked. The default value is –1, which
means to wait indefinitely.
NotesIf
an operating system does not support the ability to wait on an event
flag with a timeout (for example, Solaris), the IBM® Rational® Rhapsody® framework implements
wait with timeouts by slicing the time to 50 ms intervals, then checks
every 50 ms to see if the event flag was signaled.