Hi all,

I have started using QThreadPool for the first time and am wondering if it's save/recommended to create my own instance of it or to always use the global instance? I.e. the docs all tend to refer to the global instance but they don't say anything about creating your own.

Are there any pros and cons?

In my case my app will run inside a host application, so my gut feeling says to create my own thread pool so I don't accidentally hijack the host application's pool, but I may be wrong?!

Any insight on this?

Cheers,
frank

--
ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing <http://ohufx.com/compositing.html> | *workflow customisation and consulting <http://ohufx.com/customising.html>* *

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to