[Qt-interest] Multiple up/down with QSemaphore

DiogoLR diogolr at gmail.com
Wed Apr 6 02:45:50 CEST 2011


Thiago,

I understand what you say... Another way that I'm thinking is to protect the
"acquire" sequence with a mutex. But Qt don't have any method to do what
semop does?

Att.,

Diogo.


2011/4/5 Thiago Macieira <thiago at kde.org>

> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110405/dd47cde4/attachment.html 


More information about the Qt-interest-old mailing list