FunctionClose down the worker threads of the multi-processor optimized library
Syntax C/C++#include <VecLib.h>
int V_closeMT( void );
Pascal/Delphiuses VecLib;
function V_closeMT: IntBool;
DescriptionThis 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 valueFALSE (0), if the threads could be shut down error-free, otherwise TRUE (non-zero).
See alsoV_initMT, chap. 1.1.2.

VectorLib Table of Contents  OptiVec home