class_docstr: A wrapper around thread so that the thread
  uses the default session at "start()" time.
docstr: Args:
      th (threading.Thread or None):
docstr_tok: ["Args",":","th","(","threading.Thread","or","None",")",":"]
code: def __init__(self, th=None):
      """
      Args:
          th (threading.Thread or None):
      """
      super(ShareSessionThread, self).__init__()
      if th is not None:
          assert isinstance(th, threading.Thread), th
          self._th = th
          self.name = th.name
          self.daemon = th.daemon
  
imports: import sys
  import atexit
  import bisect
  import multiprocessing
  import platform
  import signal
  import threading
  import weakref
  from contextlib import contextmanager
  import six
  from six.moves import queue
  import subprocess
  from .None import logger
  from .argtools import log_once
label_desc: Use image node_id 1 to create a new ShareSessionThread object from inherited base classes: threading with example: obj = ShareSessionThread(th)