V_setThreadHandler
FunctionInstall worker-thread handler of main programm in a DLL ("M" libraries only)
Syntax C/C++#include <VecLib.h>
int V_setThreadHandler( V_THREADHANDLERFUNC ThreadHandler );
Pascal/Delphiuses VecLib;
function V_setThreadHandler( ThreadHandler:V_THREADHANDLERFUNC ): IntBool;
DescriptionThis function installs a callback, through which the worker threads, employed by OptiVec routines in a DLL, are managed by the main program. For details, see V_initMT.
Return valueFALSE (0), if the callback could be installed without errors, otherwise TRUE (≠ 0)
See alsoV_initMT,  chap. 1.1.2.

VectorLib Table of Contents  OptiVec home