win32 serial port listener: poll or interrupt


Mountain Drew

i am developing an interface to some serial devices from a windoze xp
box. i have installed the active state perl 5.8.6 (build 811) and the
Win32-SerialPort-0.19 package (module, whatever). I am developing the
GUI with Perl/Tk. i have to be able to listen to several of these
devices (via a USB/Serial converter) while not forgetting about my

I think interrupts are hardware level and too low for the win32 perl to
talk to. and polling as many as 16 devices (i would think) is a bit
processor intensive. even a threaded model with a priority queue needs
to know there is data.

Can aynone tell me the best way the listen to these ports???


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question