Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getThreadObserver()

virtual ThreadObserverPtr Ice::Instrumentation::CommunicatorObserver::getThreadObserver ( const std::string & parent,
const std::string & id,
ThreadState s,
const ThreadObserverPtr & o )
pure virtual

Gets a thread observer for the given thread.

The Ice runtime calls this method for each new thread and for all the Ice communicator threads when ObserverUpdater::updateThreadObservers is called.

Parameters
parentThe parent of the thread.
idThe ID of the thread to observe.
sThe state of the thread.
oThe old thread observer if one is already set or a null reference otherwise.
Returns
The thread observer to instrument the thread.