<div dir="rtl"><div dir="ltr">Hi.<br><br>I read the FAQ but I still not 100% sure about this:<br><br>"<br><p>
<em>Longer answer:</em>
More than one thread can still use this code, if only one thread
runs the library code proper, and the other thread(s) communicate with the
library only by setting global 'flag' variables.
(For one possible use of this technique, see the answer to
<a href="http://www.live555.com/liveMedia/faq.html#exiting-event-loop">this question</a>.)
</p><p>
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).
</p>"<br><br>Is there any good guide-lines to run the Live555 (or OpenRTSP example) in multi-threaded fashion?<br><br>Or my best bet would be to run separate processes?<br><br><br>Please note that I intend to use multi-core CPU's, so multi-threading is quite important here.<br>
<br>Thanks for any information!<br></div></div>