Reference Manual - 1.8.0
IDirectFBDataBuffer   WaitForDataWithTimeout

Wait for data to be available within an amount of time. Thread is idle in the meantime.

DFBResult WaitForDataWithTimeout (
  IDirectFBDataBuffer   * thiz,
  unsigned int   length,
  unsigned int   seconds,
  unsigned int   milli_seconds

This method blocks until at least the specified number of bytes is available or the timeout is reached.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License