LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Thread local variable called by the same thread function behaviour

I need to create a one client application that is listening to many servers, each server is publishing its data using shared variables.

The client creates a pool of thread, and for every server found, it creates a new thread function that has the same implementation (same part of code).

The thread function creates a thread local variable ... but this works only with one server ... one istance, if two or more thread functions are called it seems that the thread local variable is not realizing that the function where it is created is the same (same block of code) but the thread is different !!!

Paolo

0 Kudos
Message 1 of 1
(2,811 Views)