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

SourceForge.net noreply at sourceforge.net
Thu Sep 18 20:12:32 EDT 2003


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

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Hammond (mhammond)
Assigned to: Richie Hindle (richiehindle)
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

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

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