Developer Reference for Intel® Integrated Performance Primitives Cryptography
Returns the number of existing threads in the multithreading environment.
IppStatus ippcpGetNumThreads(int* pNumThr);
ippcp.h
pNumThr |
Pointer to the number of threads. |
This function returns the number of OpenMP* threads specified by the user previously. If it is not 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 pNumThr pointer is NULL. |
ippStsNoOperation |
Indicates that there is no such operation in the static version of the library. |