code: def runInStack4(func):
      x = "inside runInStack4(func)"
      func()
      return x
  
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 10 for calling a global function with example usage: runInStack4(func) and returns: x