How to have multi-threaded server log to one file ?
justin at iago.org
Thu Feb 28 11:49:35 EST 2002
shriek at gmx.co.uk (Stephen) writes:
> I had a look at the effbot queue-example and think I understand the
> Queue class but adapting my program to share the queue instance in the
> first place is making my head spin. Namely, how do I get the same
> Queue object into both MyHandler and MyServer in the first place ?
Pass the Queue instance to both of those at their instantiation time.
More information about the Python-list