I am developing a project using multiple instances of live555 lib to create 64 
windows in one program.
 
Each instance has the receiver thread and decoder thread, and each receiver 
thread has its own event loop.
 
There are often errors in DoEventLoop(). I guess it's the conflict use of 
static variable and global variable between different theads.

But in FAQ, it states:
------------------------
Another possible way to access the code from multiple threads is to have each 
thread use its own "UsageEnvironment" and "TaskScheduler" objects, and thus its 
own event loop. The objects created by each thread (i.e., using its own 
"UsageEnvironment") must not interact (except via global variables). 
--------------------

What's mean by "Possible way"? How to solve my errors?
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to