[Live-devel] Do the test applications ever sleep?
Ross Finlayson
finlayson at live555.com
Mon Aug 20 00:44:05 PDT 2012
FYI, I've now installed a new version (2012.08.20) of the "LIVE555 Streaming Media" code that updates the "BasicTaskScheduler" class to add an optional "maxSchedulerGranularity" parameter to "BasicTaskScheduler::createNew()". (The default value is the same as before: 10000 - i.e., 10 ms.)
If you know that you won't be using 'event triggers' at all, you can specify a special value of 0 - i.e., create your scheduler object by calling:
BasicTaskScheduler::createNew(0);
If you do this, then the scheduler will remain blocked in "select()" until a socket event or delayed task occurs.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120820/d88b92b8/attachment.html>
More information about the live-devel
mailing list