[Zope-Checkins] SVN: Zope/trunk/ - The ZEO server now records its PID to a file like the ZEO

Tim Peters tim.peters at gmail.com
Thu Mar 17 16:30:49 EST 2005


[Chris]
>> - Dont even bother trying to call make_pidfile or
>>   remove_pidfile if we detect we're on Windows.

[Fred]
> This may be reasonable.  I don't know that these files have any
> application on Windows; their history and use is very much from Unix.

I suspect we would regret exempting Windows here.  Mark Hammond has
had several important patches backed up in the Collector for months,
aiming at improving how Zope runs on Windows, and ZEO too.  At least
the latter starts to give ZEO some limited signal-handling smarts on
Windows.  The pid _concept_ makes sense on Windows too -- although
it's confused by that Windows has both "process identifiers" and
"process handles", both of which look like integers.

In any case, I don't see how the code here could get any simpler, or
more correct, by adding "is it Windows?" tests; and except _perhaps_
for using text mode to open the pid file for writing, nothing here is
Linux-specific.


More information about the Zope-Checkins mailing list