05-18-2006 02:12 AM
05-31-2006 02:59 PM
05-31-2006 05:14 PM
06-01-2006 02:42 PM
06-12-2006 03:57 AM
06-12-2006 04:36 AM
@Jaman wrote:
one more quesetion, does one thread pool just mean one more thread, why use pool to describe, what 's the mean of ThreadPool please?
You are not limited neither to one thread pool only nor to one thread per thread pool. You can add more than one thread to the default thread pool and you can create a new thread pool with the ability to create a specified number of threads inside it.
The use of the default thread pool permits you to schedule a thread function without need to call CmtNewThreadPool () function before.
One hint to note, though, is that your computer has a limited number of processors inside (one only unless special configurations
) and the processor(s) are in charge of all functions in the system: multiplying the number of threads can result in no performance improvement if you are consuming all processor(s) resources...
06-12-2006 09:27 AM
06-12-2006 08:24 PM
06-13-2006
01:43 AM
- last edited on
11-14-2025
03:12 PM
by
Content Cleaner
Dear Jaman,
some literature and some examples are already included in CVI distribution and you can find them on your hard disk. I suggest you to look at MultithreadingOverview.pdf document located in <cvidir>\bin together with some other application notes from NI. As per the software, use the example finder to browse through the samples shipped with CVI: multithreading related samples can be found under "Optimizing Applications >> Multithreading".
Next you can search NI site for other documentation and samples: for example Multithreading in LabWindows/CVI
Multithreading in LabWindows/CVI document or Multithreading with a Modal Dialog Pop-up in LabWindows/CVI sample code.For this purpose, the Development Library for CVI is a rich and useful resource to deep into.