ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LVOOP Class methods execution

Solved!
Go to solution

Hello,

 

I have a question regarding the execution of class methods.

Lets say i have Class "A" with a method called "Do something" which is set default to "Non reentrant execution"

and I instantiate 10 objects, in different threads which run asynchronously.

If i call the method "Do something", is this running in parallel? Or do I have to use the "reentrant execution" option of the method in order to get parallel execution.

 

Thanks!

0 Kudos
Message 1 of 3
(1,317 Views)
Solution
Accepted by topic author GMarian

Method has to be reentrant if you want to execute multiple instances of it simultaneously!

Lucian
CLA
0 Kudos
Message 2 of 3
(1,285 Views)

Thanks!

0 Kudos
Message 3 of 3
(1,267 Views)