LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid thread reusing in parallel programming

No, the VI including the CLFN must be reentrant as well.

 

Now the most important question from my side:

How do you know that the first iteration does work concurrent whilst the following iterations do not?

 

I suspect that the "issue" is always present, regardless of the iteration.

 

Another important thing to note is:

The Desktop Execution Trace Toolkit does NOT show which while loop executes in which thread. To be precise: A single while loop can use several threads.

I have also tested if the CLFN shows up in the trace (was not sure about this), but obviously, it does not display.

So next question:

Why do you think to know which while loop executes in which thread?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 11 of 11
(259 Views)