API Reference > Other Classes > ThreadsCounter Class > ThreadsCounter Methods > ThreadsCounter::addReactor Method
ThreadsCounter::addReactor Method
Syntax
C++
bool addReactor(ThreadsCounterReactor * pReactor);
Parameters 
Description 
ThreadsCounterReactor * pReactor 
[in] Function to add into reactors chain. 

Returns true if reactor added; returns false if reactor already available in chain.

Adds reactor into threads counter reactors chain.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.