Example #1
0
    def __init__(self, idVendor, idProduct):
        Ant.__init__(self, idVendor, idProduct)

        self._responses_cond = threading.Condition()
        self._responses = collections.deque()
        self._event_cond = threading.Condition()
        self._events = collections.deque()

        self.start()
 def __init__(self, idVendor, idProduct):
     Ant.__init__(self, idVendor, idProduct)
     
     self._responses_cond = threading.Condition()
     self._responses      = collections.deque()
     self._event_cond     = threading.Condition()
     self._events         = collections.deque()
     
     self.start()