[PyKDE] Re: PyQt semaphore.py example on Windows

Paul Felix pef at fluent.com
Wed Jul 24 03:38:01 BST 2002

> >>It *should* be Ok. My Windows platform is W2K and that's a test I always 
> >>check - but I probably haven't under Qt 3.0.5, Qt 3.0.4 was probably the 
> >>latest I tried.
> >>
> > 
> > You're right.  There's a change in QWaitCondition::wakeAll in Qt 3.0.5 where
> > a call to SetEvent has been replaced by a call to PulseEvent.  That seems to
> > be the cause of the problem.  I'm not sure why the C++ semaphore example still
> > works though.  This Win32 Event API is confusing too.
> What makes you think this is the cause of the problem - given that 
> semaphore.py doesn't use QWaitCondition?

QSemaphore uses QWaitCondition.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pef.vcf
Type: text/x-vcard
Size: 241 bytes
Desc: Card for Paul Felix
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020724/e380f9c6/pef.vcf

More information about the PyQt mailing list