parameters: (logger, pinfo)
docstring: Send appropriate dumping signal to python processes.
docstring_summary: Send appropriate dumping signal to python processes.
docstring_tokens: Send appropriate dumping signal to python processes .
function: def signal_python(logger, pinfo):
      """Send appropriate dumping signal to python processes."""
  
      # On Windows, we set up an event object to wait on a signal. For Cygwin, we register
      # a signal handler to wait for the signal since it supports POSIX signals.
      if sys.platform == "win32":
          logger.debug("Signaling python is not supported on windows")
      else:
          logger.info("Sending signal SIGUSR1 to python process %s with PID %d", pinfo.name,
                      pinfo.pid)
          signal_process(logger, pinfo.pid, signal.SIGUSR1)
function_tokens: def signal_python ( logger , pinfo ) : # On Windows, we set up an event object to wait on a signal. For Cygwin, we register # a signal handler to wait for the signal since it supports POSIX signals. if sys . platform == "win32" : logger . debug ( "Signaling python is not supported on windows" ) else : logger . info ( "Sending signal SIGUSR1 to python process %s with PID %d" , pinfo . name , pinfo . pid ) signal_process ( logger , pinfo . pid , signal . SIGUSR1 )