pyserial and com port interrupts

Peter Hansen peter at engcorp.com
Wed Jan 12 17:45:48 EST 2005


engsol wrote:
> Has anyone done a script that will rspond to the serial com port(s)
> receive buffer interrupt, as opposed to polling and timeouts? 
> Win2000 is the main interest right now.

What problem do you hope to avoid by not using "polling
and timeouts"?  (Note that if you specify a sizable
read timeout, you're closer to being interrupt-driven
than you are to what is traditionally called "polling".)

-Peter



More information about the Python-list mailing list