Please check this snippet if this is correct
1. QFuture Th;
2. std::vector > Threads;
3. int z=0;
4. while(zactiveThreadCount() < QThreadPool
::globalInstance()->maxThreadCount()) {
6. Th = QtConcurrent::run(this,&UNRSTParser::ProcessZLayer,z);
7. Threads.push_back(Th);
8.
Hi Sujan,
Copy/pasting code in email body can lead to strange formating depending
on the reader's email client (Have a look below).
You better off using online copy/pasting tools like http://pastebin.com
(free service). This way, anyone can read your code snippet, and with
good syntax highlight