LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Threading Rendevous

Solved!
Go to solution

Hello,

 

Is there a CVI equivalent to LabVIEW's rendevous function for multithreading?   Or would OS primitives need to be used to accomplish this?

 

Thank you,

0 Kudos
Message 1 of 2
(2,657 Views)
Solution
Accepted by topic author jharris66

I don't seem to remember a direct CVI equivalent of LV rendezvous. You could use a thread safe variable to accomplish this task: starting from zero, each thread can increment variable value by one and then wait until the variable has reached the desired value (i.e. the stated number of threads is paused waiting on the variable).



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,649 Views)