Chris Spencer wrote at 2005-10-10 06:17 -0400:
>I'd like to be able to stop a ZEOServer instance from a separate thread.
The easiest way (at least under *nix) is to send it a SIGTERM signal.
--
Dieter
___
For more information about ZODB, see the ZODB
[Chris Spencer]
> I'd like to be able to stop a ZEOServer instance from a
> separate thread.
AFAICT, (a) there is no defined API for stopping a ZEO
server; and, (b) there should be.
> I've read ThreadedAsync.LoopCallback, which says to set
> exit_status to a non-none value to stop the server's
>
I'd like to be able to stop a ZEOServer instance from a separate thread.
I've read ThreadedAsync.LoopCallback, which says to set exit_status to a
non-none value to stop the server's main loop. I've tried doing this,
but the server refuses to stop.
Should the following code allow a thread to te