Bug in Win32file WaitCommEvent ???
Grant Edwards
grante at visi.com
Wed Nov 20 10:24:40 EST 2002
In article <arg6kb$es5$0 at 216.39.172.122>, Bengt Richter wrote:
>>> Sounds like the mask location is safe if you don't call
>>> GetOverlappedResult??
I've added a call to GetOverlappedResult to my Python app, it
hasn't caused problems (nor does it do anything useful).
>>I sure don't know. I've found examples that don't call GetOverlappedResult
>>and they expect a "delayed" write to *lpfdwEvtMask happen.
>>
> """
> If the lpo parameter is NULL or the hCommDev handle was opened without specifying
> the FILE_FLAG_OVERLAPPED flag, WaitCommEvent does not return until one of the specified
> events or an error occurs.
> """
>
> Did the examples use the FILE_FLAG_OVERLAPPED flag and provide
> the lpo parameter for sure?
Yes.
> Otherwise there is apparently an implicit wait.
>
>>And I thought it impossible for me to grow to hate Windows even more...
>
> Well, try to make your solutions portable ;-)
--
Grant Edwards grante Yow! Not SENSUOUS... only
at "FROLICSOME"... and in
visi.com need of DENTAL WORK... in
PAIN!!!
More information about the Python-list
mailing list