Returns the number of existing threads in the multithreading environment.
IppStatus ippGetNumThreads(int* pNumThr);
pNumThr |
Pointer to the number of threads. |
The function ippGetNumThreads is declared in the ippcore.h file. This function returns the number of OMP threads specified by the user previously. If it has not been specified, the function returns the initial number of threads that depends on the number of logical processors.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition when the pMhz pointer is NULL. |
ippStsNoOperation |
Indicates that there is no such operation in the static version of the library. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.