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

Paul Felix pef at fluent.com
Tue Jul 23 23:06:00 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.

Paul




More information about the PyQt mailing list