void waitForEvents ()

ConcurrencyrsSequentialConcurrencyVisibilityrsPrivate

Code
static const RTTimespec awhile( 1, 0 );  // seconds, nanoseconds
static char  anything;

if( ioMonitor.wait( &awhile ) <= 0 )        // timeout or error
    return;

if( ( ioMonitor.status( internalFd ) & RTIOMonitor::CanRead ) != 0 )
{
    ::recv( internalFd, &anything, 1, 0 );
    return;                                       // waked up
}

// custom IPC data to process here:
processIPCData();