medusa as win32 service

Robin Becker robin at jessikat.fsnet.co.uk
Sat Dec 6 04:36:04 EST 2003


Giles Brown wrote (giles_brown at hotmail.com)
.......
>
>I think the cleanest design for this is to use the
>medusa.threading.select_trigger function to send an asyncore.ExitNow
>exception into the main select loop.  The only problem with this is
>that the current medusa.threading.select_trigger (in the sourceforge
>medusa version) catches (and does not re-raise) this exception.  I've
>modified our code so that it does not catch it and this seems to work
>very well (we have a web server using medusa that runs as a service).
>
>Regards,
>Giles Brown

I just got back to this and cannot find either threading or
select_trigger in my installed version. I see there was a directory
called thread in my older medusa. Perhaps that doesn't get installed by
setup.py.
-- 
Robin Becker




More information about the Python-list mailing list