[Live-devel] New TaskScheduler 'event trigger' mechanism, and (much) improved "DeviceSource"

Ross Finlayson finlayson at live555.com
Mon Dec 13 16:20:47 PST 2010


>If the scheduler is waiting on select() (in BasicTaskScheduler.cpp) 
>to kick-in and no network activity or alarm happen to awake the 
>select() will the new mechanism provide a mean to exit the threading 
>loop ?

Yes - I added a periodic 'dummy' task to "BasicTaskScheduler" that 
wakes up every 10ms.  This ensures that we'll always return from the 
"select()" at least that often.  (Therefore, there is no longer any 
need for the programmer to add such a hack themselves.)
-- 

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


More information about the live-devel mailing list