Syntax:
Press CTRL+C to copy thread_id = ccnx.thread_id()
thread_id = ccnx.thread_id()
Returns the current thread or connection ID.