10-08-2012 08:57 PM
Hi
Lab windows support thread safe queues. I would like to get a sample in MSVC for omplementing thread safe queus. is there anybody can help me on this?
Thanks
10-09-2012 12:23 PM
There are many examples about Mutlithreading in the Example Finder (Help >> Find exmaples). The example BuffNoDataLoss in the Optimizing Applications >> Multithreading directory demonstrates how to use a thread safe queue to pass data between a data acquisition and user inerface thread.
There is also some sample code online in the following document: http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/programmerref/threadsafequeue/
Hope this helps!