[Live-devel] TaskScheduler::DoEventLoop() question.

Dario maljur dmaljur at elma.hr
Tue Aug 14 02:07:57 PDT 2007


 

>If you really want to, you can write your own subclass of "TaskScheduler"
and reimplement "doEventLoop()", or write your own subclass of
>"BasicTaskScheduler0" and reimplement "SingleStep".  I.e., if you wish, you
can implement your own event loop (provided that it implements >the
interface defined in "UsageEnvironment/include/UsageEnvironment.hh").

 

>The event loop implementation - "BasicTaskScheduler" - that's included with
the supplied code is just that: 'basic'.

-- 


>Ross Finlayson
>Live Networks, Inc.
>http://www.live555.com/

 

And if I mess with 

TaskScheduler::DoEventLoop()

{

 While(1)

  {

    If (watchVariable != NULL && *watchVariable !=) break;

    SingleStep();

  }

}

Say, to comment out while loop and if keyword? And implement it in my
OnTimer function

What effect could that have on work of the library, considering I saw many
places in lib that 

Use doEventLoop?

 

 




ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.)
Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia)
Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 )

Www:
www.elma.hr; shop.elma.hr

E-mail:
elma at elma.hr (elma at elma.hr)
pitanje at elma.hr (questions at elma.hr)
primjedbe at elma.hr (complaints at elma.hr)
prodaja at elma.hr (sales at elma.hr)
servis at elma.hr (servicing at elma.hr)
shop at elma.hr (shop at elma.hr)
skladiste at elma.hr (warehouse at elma.hr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070814/d85e8e96/attachment-0001.html 


More information about the live-devel mailing list