How to share data between threads in this threaded TCPServer?
Try sharing a Queue
between your threads.
Useful resources
- An Introduction to Python Concurrency, a presentation by David Beazley, provides a good nice intro to multithreading, thread communication, and concurrency in general.