[Qt-interest] Documentation on Mutex, Semaphore and Critical Section with Qt?
Sean Harmer
sean.harmer at maps-technology.com
Fri Jan 29 15:25:54 CET 2010
On Friday 29 January 2010 14:23:03 Sean Harmer wrote:
> > But this would require to look at the status of the lock which seams not
> > possible?
>
> How about the following function:
>
> http://doc.trolltech.com/4.6/qmutex.html#tryLock
>
> seems to do exactly what you need.
Sorry I meant these functions:
http://doc.trolltech.com/4.6/qreadwritelock.html#tryLockForRead
http://doc.trolltech.com/4.6/qreadwritelock.html#tryLockForWrite
Sean
More information about the Qt-interest-old
mailing list