parameters: (tool)
return_statement: return Forwarder._instance
docstring: Returns the singleton instance.
  
      Note that the global lock must be acquired before calling this method.
  
      Args:
        tool: Tool class to use to get wrapper, if necessary, for executing the
              forwarder (see valgrind_tools.py).
docstring_summary: Returns the singleton instance.
docstring_tokens: Returns the singleton instance .
function: def _GetInstanceLocked(tool):
      """Returns the singleton instance.
  
      Note that the global lock must be acquired before calling this method.
  
      Args:
        tool: Tool class to use to get wrapper, if necessary, for executing the
              forwarder (see valgrind_tools.py).
      """
      if not Forwarder._instance:
        Forwarder._instance = Forwarder(tool)
      return Forwarder._instance
function_tokens: def _GetInstanceLocked ( tool ) : if not Forwarder . _instance : Forwarder . _instance = Forwarder ( tool ) return Forwarder . _instance