Re: Threading and serial port access

2005-06-18 Thread willie
Diez wrote: > Apart from that the approach you use is wasting resources - if you are > concerned about that (or better style...) use e.g. twisted with the > serial and parallel support and its so-called select reactor. The idea > behind that concept is that the OS is responsible for scannig IO-Por

Re: Threading and serial port access

2005-06-18 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi, > > I'm writing a program which requires the use of three serial ports and > one parallel port. My application has a scanning devices on each port, > which I can access fine with pyserial. However, I'm unsure of how > exactly I should be designing the program, I th

Threading and serial port access

2005-06-18 Thread willie
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. However, I'm unsure of how exactly I should be designing the program, I thought I could use threading to start