Reference Manual - 1.0.1
IDirectFBDataBuffer   WaitForDataWithTimeout

Wait for data to be available within an amount of time. Thread is idle in the meantime.
在一个时间内等待数据有效,期间线程闲置状态

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