thread_id — Returns the Tcl interpreter current thread id
::rivet::threadid returns is either hexadecimal (default) or decimal representation the current thread id. This command is useful because allows for precise identification of an execution thread when Apache runs a threaded MPM. Calling the command with ?-decimal? prints the thread id in a form that makes it comparable with the tid information printed in the error log.