[Live-devel] All client termination
ЗвягинцевАнтон
zvyagintsev at atlantis.ru
Tue Sep 11 01:01:44 PDT 2012
> No! You cannot safely do this! Read the FAQ (that you were asked to do
before posting to this mailing list)!
>
> Apart from "triggerEvent()" (see below), all calls to LIVE555 code *must* be
done within the LIVE555 thread - e.g., from a LIVE555 event handler.
>
> Now, you may wish to signal this shutdown/reclaim mechanism from an external
thread - i.e., from a thread other than one that's running the LIVE555 event
loop, for example, a GUI. To do this, use the "event trigger" mechanism (see
the FAQ and "UsageEnvironment/include/UsageEnvironment.hh"). Note that the
"triggerEvent()" function is the *only* LIVE555 function that can be called from
an external thread.
>
Thanks, ill do this.
Is it safe to do the same (code posted above) from "event trigger" - access to
hashtable and shutdown all the clients?
More information about the live-devel
mailing list