[Qt-interest] Eventloop started in a thread where an event loop isalready running

Thiago Macieira thiago at kde.org
Tue Aug 23 09:19:58 CEST 2011


On Tuesday, 23 de August de 2011 01:18:34 srikanth bemineni wrote:
> I read the documentation but it is still not clear
> 
> When application starts it has an event loop(initiated on the QApplication)
> running which we consider as a main event loop.If at all I create QEventloop
> object and call exec, according to the documentation it says that it
> creates a local event loop.Now please let me know which event loop is
> handling the events.

It's just a new loop. E.g.:

	while (!interrupted)
		processEvents();

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      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/20110823/97ef6090/attachment.bin 


More information about the Qt-interest-old mailing list