DirectFB Reference Manual
IDirectFBEventBuffer   WaitForEventWithTimeout

Block until next event to occur or timeout is reached. Thread is idle in the meantime.

WaitForEventWithTimeout (
  IDirectFBEventBuffer *thiz
  unsigned int seconds
  unsigned int milli_seconds
);

  (C) Copyright by convergence GmbH