durusmail: quixote-users: Quixote 2.0 and threads
RELEASED: Quixote 2.0a3
Quixote 2.0 and threads
2004-12-10
2004-12-10
2004-12-10
2004-12-10
Quixote 2.0 and threads
Oleg Broytmann
2004-12-10
On Fri, Dec 10, 2004 at 02:03:51PM +0300, Oleg Broytmann wrote:
> On Fri, Dec 10, 2004 at 05:57:16AM -0500, David Binger wrote:
> > The get_request() function calls _publisher.get_request().
> > If you want to handle multiple requests in one process, I think
> > the strategy would be to override Publisher._set_request(),
> > Publisher,_clear_request(), and Publisher.get_request() to
> > maintain and access a per/thread  table of request instances.
>
>    Nothing changes since at least Q 0.6. That's fine! Thank you!

   I think this ThreadedPublisher should be added to publisher.py.

http://www.mems-exchange.org/software/quixote/doc/multi-threaded.html

   At first galnce it seems it can even be used as a mix-in class for
SessionPublisher, but I am not sure.

Oleg.
--
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

reply