Namespace: Rx::LFR – Class: CImageQueue – Header: Rx.LFR/ImageQueue.h

CImageQueue::WaitForNotEmpty Method

C++
bool WaitForNotEmpty(int iMilliseconds)

Waits until the Queue is not empty, or until the given timeout has passed.

Parameters

[int] iMilliseconds

(Optional) [in] The maximal waiting time in milliseconds. if iMilliseconds is set to -1 the time is set to infinite.

Returns

bool

True if it succeeds, false if it fails.