parameters: (process, reason)
return_statement: return threads
docstring: Returns the thread(s) with the specified stop reason in a list.
  
      The list can be empty if no such thread exists.
docstring_summary: Returns the thread(s) with the specified stop reason in a list.
docstring_tokens: Returns the thread ( s ) with the specified stop reason in a list .
function: def get_stopped_threads(process, reason):
      """Returns the thread(s) with the specified stop reason in a list.
  
      The list can be empty if no such thread exists.
      """
      threads = []
      for t in process:
          if t.GetStopReason() == reason:
              threads.append(t)
      return threads
function_tokens: def get_stopped_threads ( process , reason ) : threads = [ ] for t in process : if t . GetStopReason ( ) == reason : threads . append ( t ) return threads