[spambayes-bugs] [ spambayes-Patches-809008 ] safe start/stop and exlusive execution on windows

SourceForge.net noreply at sourceforge.net
Wed Sep 24 20:11:12 EDT 2003


Patches item #809008, was opened at 2003-09-19 10:12
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=809008&group_id=61702

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mark Hammond (mhammond)
>Assigned to: Mark Hammond (mhammond)
Summary: safe start/stop and exlusive execution on windows

Initial Comment:
As per spambayes-dev.  This patch has a few main parts:



* sb_server's state management refactored slightly -

State class grows init, close and prepare methods. 

Global functions call these.



* sb_server has mutex enabled on Windows, and called

from State.prepare().  State.close() cleans it up.



* pop3proxy_tray changed to check this exception, but

also to check the mutex as a reliable "are we running

anywhere" indicator.  Also changed radically to never

believe its "self.started" variable.  It no longer gets

confused when the world changes underneath it.



* pop3proxy_service checks AlreadyRunningException

reports an appropriate event

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-09-25 10:11

Message:
Logged In: YES 
user_id=14198

Checking in scripts/sb_server.py;

new revision: 1.9; previous revision: 1.8

Checking in windows/pop3proxy_tray.py;

new revision: 1.15; previous revision: 1.14



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=809008&group_id=61702



More information about the Spambayes-bugs mailing list