[Qt-interest] Problem with FD_SET and select

Thiago Macieira thiago at kde.org
Fri Sep 18 14:27:09 CEST 2009


Em Sexta-feira 18 Setembro 2009, às 13:56:03, você escreveu:
> > Where is timer set? It has to be reset at every loop, because the  
> > select(2)
> > call could modify it.

> Hi Thiago,
> 
> timer is set on constructor of class, this is the code:

Read what I said above.

You need to set it at every loop.

-- 
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

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090918/8c64b6f9/attachment.bin 


More information about the Qt-interest-old mailing list