def initworker(logq, progq, ctrlq, stdin=None):
    logToQueue(logq)
    progressToQueue(progq)
    controlByQueue(ctrlq)
    setproctitle(current_process().name)
    signal.signal(signal.SIGINT, signal.SIG_IGN)
    if hasattr(signal, 'SIGBREAK'):
        signal.signal(signal.SIGBREAK, signal.SIG_IGN)
    getLogger().debug("Worker " + current_process().name + " logging started")
    if stdin is not None:
        sys.stdin = os.fdopen(stdin, 'r')
        print "Worker " + current_process().name + " opened stdin"
Setup our dispatcher.. listen on the port we are supposed to accept
dataset/ETHPy150Open longaccess/longaccess-client/lacli/worker.py/initworker--crossover with--dataset/ETHPy150Open scanner/asimap/experiments/test_server.py/IMAPServer.__init__