Hi,
I have an application that reads characters off the serial port in a thread. The problem is, the entire application will hang sometimes. I believe it is a threading problem, but I can't pinpoint why the application hangs. So, I'd like to get away from threads and thought Twisted may help me.
I was told Twisted has the ability to interface with serial ports. I don't know where to look for the information on how to do this. Any ideas on where to start looking or pointers on how to accomplish this?
Thanks, Tom
On Sun, 21 Oct 2007 17:34:34 -0700, Tom Brown brown@esteem.com wrote:
Hi,
I have an application that reads characters off the serial port in a thread. The problem is, the entire application will hang sometimes. I believe it is a threading problem, but I can't pinpoint why the application hangs. So, I'd like to get away from threads and thought Twisted may help me.
I was told Twisted has the ability to interface with serial ports. I don't know where to look for the information on how to do this. Any ideas on where to start looking or pointers on how to accomplish this?
Take a look at the mouseman example:
http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/mouse.py
Thanks, Tom
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Sun, 2007-10-21 at 20:42 -0400, Jean-Paul Calderone wrote:
Take a look at the mouseman example:
http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/mouse.py
That got me off to the right start. Thank you! Tom