[Qt-interest] How many threads Qt application create during the launch? 1, 2 or more...

Thiago Macieira thiago at kde.org
Tue May 4 09:20:38 CEST 2010


Em Terça-feira 4. Maio 2010, às 08.59.54, Valeriy Portnyagin escreveu:
> hello all,
> 
> How many threads Qt application create during the launch? 1,2 or more...
> what are the essential characteristics or what are the general goals of
> these threads?

The OS creates one thread, which is the one main() is called in.

Qt uses one auxiliary thread for the QProcess manager class on Unix, and it 
uses a thread pool for hostname resolution (1 to 5 threads).
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100504/c155cdfa/attachment.bin 


More information about the Qt-interest-old mailing list