[PyKDE] Re: QMutexLocker doesn't unlock the mutex if an exception israised

Lukáš Lalinský lalinsky at gmail.com
Thu Oct 19 12:11:36 BST 2006


Phil Thompson wrote:
> Well, that turned out to be trivial. The attached modified script will work 
> with tonight's PyQt4 snapshot.

Here is a simple patch (just copy&paste from qmutex.sip) that adds the same
functionality to QReadLocker and QWriteLocker.

-Lukáš
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockers.diff
Type: text/x-patch
Size: 1436 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061019/5659732b/lockers.bin


More information about the PyQt mailing list