On Apr 30, 2005, at 3:02 PM, Oleg Broytmann wrote:

On Sat, Apr 30, 2005 at 07:37:37AM -0400, David Binger wrote:
hacking Quixote's Publisher.__init__ and get_publisher()
to maintain a separate publisher for each thread.

Like this?
http://www.mems-exchange.org/software/quixote/Quixote-2.0.tar.gz/ Quixote-2.0/doc/multi-threaded.txt

Yes. An alternative is to make the _publisher global hold a dictionary of thread_id to Publisher instance, and change get_publisher() to find the right one for the current thread. I guess it depends on whether or not you want your threads to share a Publisher instance (and root directory).




_______________________________________________ Quixote-users mailing list [email protected] http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to