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 |