def run(self):
        context = zmq.Context()
        # the socket for outgoing timer events
        socket = context.socket(zmq.PUB)
        socket.setsockopt(zmq.LINGER, 100)
        socket.bind('ipc://' + self.timer_sock)

        count = 0
        log.debug('ConCache-Timer started')
        while not self.stopped.wait(1):
            socket.send(self.serial.dumps(count))

            count += 1
            if count >= 60:
                count = 0
Initialize context manager.
dataset/ETHPy150Open saltstack/salt/salt/utils/master.py/CacheTimer.run--crossover with--dataset/ETHPy150Open openstack/ironic-python-agent/ironic_python_agent/netutils.py/RawPromiscuousSockets.__init__