[Live-devel] Do the test applications ever sleep?

Sid Price sidprice at softtools.com
Mon Aug 20 07:13:03 PDT 2012


Thank you very much Ross, your ongoing support is much appreciated,

Sid.

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Monday, August 20, 2012 1:44 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Do the test applications ever sleep?

 

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/9020e38a/attachment.html>


More information about the live-devel mailing list