LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

thread pools

I have 2 doubts.

1. I have 16 different threads to execute.Should i make 16 thread
pools or can i put it in a single pool?
2. the 16 threads will try to read single file at a time.What should
be my programming strategy?

regards,
jis

0 Kudos
Message 1 of 2
(2,963 Views)
Hi jis,

There is a maximum number of threads that you can create in the default thread pool, and it is determined by the number of processors on your system. Please refer to this knowledge base on our website for the details:
LabWindows/CVI and Thread Pools

I regards to your question, you should probably create multiple thread pools, but I would not suggest creating a new pool for each thread. For instance, you could create 2 user defined thread pools with 8 threads each.

Regards,
Message 2 of 2
(2,917 Views)