API Reference > Other Classes > ThreadsCounter Class > ThreadsCounter Methods > ThreadsCounter::hasThread Method
ThreadsCounter::hasThread Method
Syntax
C++
bool hasThread(unsigned nThreadId, unsigned * pThreadAttributes);
Parameters 
Description 
unsigned nThreadId 
[in] Requested thread ID.  
unsigned * pThreadAttributes 
[out] If set takes requested thread attributes. 

Returns true if increase called for specified thread. Optionally returns thread attributes.

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