def registerAsIOThread():
    """Mark the current thread as responsible for I/O requests.
    """
    global ioThread
    ioThread = getThreadID()
Mark the current thread as responsible for I/O requests.
    
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/threadable.py