bool rascal_work(unsigned int msec);
Lets the library perform pending operations and dispatch the events. The library will spend msec
milliseconds waiting for an operation to complete and then return without doing anything. If there was job to do, the library will most likely to return before the specified amount of time has elapsed.
Using this function makes sense only if the library was started in the RIP_WORKER_MANUAL
mode; in all other modes the library already has at least one worker thread that calls this function in an infinite loop.
Return value.
The function returns true
if there were events dispatched, false
if nothing was done.