- a string composed of the parent process' id, the current
- process' id and the current thread identifier. The former two are
- numbers (pids) whereas the latter is a thread id passed during thread
- creation time.
-
- >>> ret = current_thread_id()
+ A string composed of the parent process' id, the
+ current process' id and the current thread name that can be used
+ as a unique identifier for the current thread. The former two are
+ numbers (pids) whereas the latter is a thread id passed during
+ thread creation time.
+
+ >>> from pyutils.parallelize import thread_utils
+ >>> ret = thread_utils.current_thread_id()
+ >>> ret # doctest: +SKIP
+ '76891/84444/MainThread:'