#include "libut/ut.h" void UT_event_once( unsigned max_wait_msec );
This function is an alternative to UT_event_loop(3)
for programs which need to
periodically run the libut event loop for a single iteration.
This function is intended for embedding the libut event loop into frameworks which already have their own event loop.
The max_wait_msec parameter specifies the maximum number of milliseconds that libut should wait for I/O if none is pending. Passing 0 for this parameter causes the function to return immediately if there is no pending I/O or timer expirations to process.
Troy D. Hanson <thanson@users.sourceforge.net>