LabWindows/CVI

Content Type
Programming Language
Current manual

Thread Local Variable Class Help

Thread Local Variable Class Help

This class contains functions you can use to create, access, and destroy thread local variablesthread local variables. You can use a thread local variable to store information that is different for different threads in your program.

You can store any data type as thread local variable. You pass the size of the data to CmtNewThreadLocalVar. The library allocates space for the variable on a per–thread basis, as needed. Access the data from each thread through a void pointer (void *) that you obtain from CmtGetThreadLocalVar.

Library: Utility Library

Was this information helpful?