[Interest] QTimer stops triggering

Thiago Macieira thiago.macieira at intel.com
Tue Jun 5 15:10:06 CEST 2012


On terça-feira, 5 de junho de 2012 16.40.03, Pritam wrote:
> I was just trying to rule out the possibility of a platform bugs. May be 
> your platform vendor has not done a good job at creating/porting 
> platform software on the
> hardware that you use.

On Windows, Qt uses system timers, which deliver events to the Qt event 
window. There are two types of timers in use: the ones created with SetTimer 
for anything above 20 ms or timeSetEvent (multimedia timers) for anything 
below.

On Mac with GUI, Qt uses a CoreFoundation timer (created 
CFRunLoopTimerCreate).

On Unix systems and on Mac without GUI, Qt does not use system timers. The 
timers are kept in a sorted list and the shortest timeout is the timeout for 
the the select(2) or poll(2) call.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120605/675390b3/attachment.sig>


More information about the Interest mailing list