[Qt-interest] Multiple up/down with QSemaphore

Thiago Macieira thiago at kde.org
Tue Apr 5 23:42:43 CEST 2011


On Tuesday, 5 de April de 2011 16:50:36 DiogoLR wrote:
> Exactly like Atlant Schmidt said... I'm trying to acquire multiple
> independent resources each guarded by unique semaphores.

Acquire them all always in the same order. Even if you acquire a subset, make 
sure it's in the same order.

-- 
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
-------------- 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/20110405/6bb84aa3/attachment.bin 


More information about the Qt-interest-old mailing list