DirectFB Reference Manual
IDirectFBDataBuffer   WaitForData

Wait for data to be available. Thread is idle in the meantime.

WaitForData (
  IDirectFBDataBuffer *thiz
  unsigned int length
);

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

  (C) Copyright by convergence GmbH