def __init__(self):
        "Initializes instance with thread identity and job queue."
        self.__thread = _thread.get_ident()
        self.__action = queue.Queue()
Initializes instance with thread identity and job queue.
recipes/Python/578151_affinitypy/recipe-578151.py