[PyKDE] Re: PyQt semaphore.py example on Windows
    Phil Thompson 
    phil at river-bank.demon.co.uk
       
    Wed Jul 24 00:45:01 BST 2002
    
    
  
Paul Felix wrote:
>>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?
Phil
    
    
More information about the PyQt
mailing list