Enables or disables data collection - i.e. whether data is sent to Memory Validator from your target application.
extern "C"
void mvSetCollect(int enable); // TRUE to enable, FALSE to disable
Returns whether data collection is on.
extern "C"
int mvGetCollect(); // Returns TRUE or FALSE
Use this function to tell Memory Validator to ignore this thread or pay attention to this thread.
extern "C"
int mvIgnoreThisThread(); // Returns TRUE or FALSE
The return code indicates Memory Validator previous ignore state. You can use this value in a subsequent call to mvIgnoreThisThread().
Example:
int prevValue;
prevValue = mvIgnoreThisThread(TRUE); // tell MV to ignore this thread and record the previous ignore state
doBakeCake(); // these operations on this thread are ignored
mvIgnoreThisThread(prevValue); // tell MV to restore the previous ignore this thread state