[Qt-interest] QT console QTcpServer application

Thiago Macieira thiago at kde.org
Tue Oct 11 16:07:07 CEST 2011


On Tuesday, 11 de October de 2011 15:58:16 Louis Hoefler wrote:
> Hello everyone,
> I try to implement the threaded fortune server example as simple console
> application.
> 
> However, if I use an endless loop while(true) {...} I get 100% processor
> usage for the server process.
> 
> So as I understand it I need a way to implement the signal and slot
> system without loop, how can this be done?
> 
> I use vs2010 with qt-addin and qt 4.7.4.

Hello Louis

There's really not enough information in your email for us to give you any 
hints. We don't know what you did wrong so we have no idea what to advise for 
you to improve.

-- 
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/20111011/bc6e81ef/attachment.bin 


More information about the Qt-interest-old mailing list