Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6732

Batch Synchronization using specific socket after first synchronized section

$
0
0

Hi all,

 

I'm using Batch Synch however a slight variation on the traditional use is that I want to force the thread used in the first synchronized section (set to one thread only) to then be the thread that executes the remaining synchronized sections so I'm currently thinking of a hybrid Batch synch + Rendezvous approach. See attached seq.

 

Batch.png

 

However there's a lot of sections to be wrapped like this AND the termination / error handling of this gets complicated really quickly if we're to avoid deadlocks. Feels like a hack honestly.

 

Anybody got another pattern they would care to suggest?

 

Cheers

Chris


Viewing all articles
Browse latest Browse all 6732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>