instance counter for # of live workers
This commit is contained in:
@@ -163,6 +163,7 @@ struct evbase::Pvt : public epicsThreadRunable
|
||||
|
||||
virtual void run() override final
|
||||
{
|
||||
INST_COUNTER(evbaseRunning);
|
||||
try {
|
||||
decltype (base) tbase(event_base_new());
|
||||
if(evthread_make_base_notifiable(tbase.get())) {
|
||||
|
||||
@@ -62,6 +62,7 @@ CASE(StructTop);
|
||||
|
||||
CASE(UDPListener);
|
||||
CASE(evbase);
|
||||
CASE(evbaseRunning);
|
||||
|
||||
CASE(GPROp);
|
||||
CASE(Connection);
|
||||
|
||||
@@ -298,6 +298,7 @@ CASE(StructTop);
|
||||
|
||||
CASE(UDPListener);
|
||||
CASE(evbase);
|
||||
CASE(evbaseRunning);
|
||||
|
||||
CASE(GPROp);
|
||||
CASE(Connection);
|
||||
|
||||
Reference in New Issue
Block a user