[Development] QMutex with pthread on Linux

Thiago Macieira thiago.macieira at intel.com
Sun Aug 26 13:53:03 CEST 2012


On domingo, 26 de agosto de 2012 10.45.31, Olivier Goffart wrote:
> The problem is that 
> pthread mutex can't do timed lock, so we need to be smart in order to allow 
> tryLock(timeout)

By the way:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_timedlock.html

Since POSIX.1-2001.

-- 
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/development/attachments/20120826/1c378a4a/attachment.sig>


More information about the Development mailing list