|Function||Close down the worker threads of the multi-processor optimized library|
|Syntax C/C++||#include <VecLib.h>
int V_closeMT( void );
function V_closeMT: IntBool;
|Description||This function terminates the worker threads initialized by V_initMT. The call to V_closeMT should be at the end of any programme using the multi-processor libraries of OptiVec. No call to a vector or matrix function fo OptiVec is allowed to follow the closing-down of the worker threads.
To facilitate testing of the various OptiVeclibrary versions, V_closeMT is present as an empty function also in the (non-threaded) general-purpose libraries. Calling it just does not have any effect then.
|Return value||FALSE (0), if the threads could be shut down error-free, otherwise TRUE (non-zero).|
VectorLib Table of Contents OptiVec home