cleanup: remove unused initextnotify() function and inited variable

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2011-05-11 18:56:56 +02:00
parent 136237b7dc
commit 21875852eb
2 changed files with 0 additions and 10 deletions

View File

@ -328,7 +328,6 @@ class OfflineImap:
signal.signal(signal.SIGUSR2,sig_handler)
#various initializations that need to be performed:
threadutil.initexitnotify() #TODO: Why?
offlineimap.mbnames.init(config, syncaccounts)
if options.singlethreading:

View File

@ -83,15 +83,6 @@ class threadlist:
######################################################################
exitthreads = Queue(100)
inited = 0
def initexitnotify():
"""Initialize the exit notify system. This MUST be called from the
SAME THREAD that will call monitorloop BEFORE it calls monitorloop.
This SHOULD be called before the main thread starts any other
ExitNotifyThreads, or else it may miss the ability to catch the exit
status from them!"""
pass
def exitnotifymonitorloop(callback):
"""An infinite "monitoring" loop watching for finished ExitNotifyThread's.