LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Global Variable reentrant or not? (Conflicting information)

I had to go back to that thread I linked above to re-read "The Official Word" and I believe the answer is....

 

"global read writes are reentrant" but writing is protected by a mutex.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 11 of 12
(785 Views)

Thanks guys, I think I understand. I see how they are bad in certain applications. I believe my confusion is/was in the fact that it is the code that can make it re-entrant.

 

As I understand it Functional Globals will still give you determinism in RT applications, unless you do what it is explained in the second link I posted (i.e. http://zone.ni.com/devzone/cda/tut/p/id/4338)

0 Kudos
Message 12 of 12
(765 Views)