[Live-devel] Infinit loop in DelayQue::synchronize on BasicTaskScheduler::createNew
Ross Finlayson
finlayson at live555.com
Mon Nov 28 15:23:38 PST 2011
OK, I see now what you're doing.
Because you've made your "TaskScheduler" and "UsageEnvironment" *static* member variables, it's not inconceivable that their initialization is taking place before the initialization of some other static variables or constants in the LIVE555 code that they happen to depend on. I can't say for sure, but because you are seeing such strange behavior (an infinite loop), then I suggest that you not do this. Instead, do what most (every) other LIVE555 application does: Create the "TaskScheduler" and "UsageEnvironment" objects at the start of the main program (or at the start of each thread if you're using multiple threads), before you create any "Medium" objects that use them.
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/20111128/1ccd98b1/attachment.html>
More information about the live-devel
mailing list