scheduler.py

changeset 79
b075b3db3044
parent 78
83b43987e61e
equal deleted inserted replaced
78:83b43987e61e 79:b075b3db3044
3 # 3 #
4 # This module simply provide a way for other threads to until a given time 4 # This module simply provide a way for other threads to until a given time
5 # 5 #
6 6
7 import time 7 import time
8 import borgend 8 import loggers
9 import dreamtime 9 import dreamtime
10 from threading import Condition, Lock, Thread 10 from threading import Condition, Lock, Thread
11 11
12 logger=borgend.logger.getChild(__name__) 12 logger=loggers.get(__name__)
13 13
14 class QueuedEvent: 14 class QueuedEvent:
15 def __init__(self, cond, name=None): 15 def __init__(self, cond, name=None):
16 self.next=None 16 self.next=None
17 self.prev=None 17 self.prev=None

mercurial