Source code for synapse.lib.threads

import logging
import threading

logger = logging.getLogger(__name__)

[docs]def current(): return threading.current_thread()
[docs]def iden(): return current().ident