code: def threadRunner():
      global threadRunQueue
      # This is necessary to allow installing trace functions in the thread later on
      sys.settrace(lambda *args: None)
      while True:
          func, args = threadRunQueue.get()
          try:
              print(
                  f"running {func} from thread, trace: {sys._getframe().f_trace}"
              )
              func(*args)
          except Exception:
              sys.excepthook(*sys.exc_info())
  
imports: import sys
  import queue
  import functools
  import threading
  import pyqtgraph
  import pyqtgraph.console
  from pyqtgraph.Qt import QtWidgets
  from pyqtgraph.debug import threadName
label_desc: Use image node_id 6 for calling a global function with example usage: threadRunner() without return types