docstr: Request the thread to exit. This is not guaranteed to
  have any effect, because the instance has to check for
  self.exit_requested and act accordingly. It might not
  do that.
docstr_tok: ["Request","the","thread","to","exit",".","This","is","not","guaranteed","to","have","any","effect",",","because","the","instance","has","to","check","for","self.exit_requested","and","act","accordingly",".","It","might","not","do","that","."]
code: def request_exit(self) -> None:
      """
      Request the thread to exit. This is not guaranteed to
      have any effect, because the instance has to check for
      self.exit_requested and act accordingly. It might not
      do that.
      """
      self.exit_requested = True
  
imports: from __future__ import annotations
  import logging
  import os
  import threading
  from abc import ABCMeta, abstractmethod
  from enum import Enum
  from queue import Full, Queue
  from subprocess import Popen
  from typing import IO, Any, Optional
  from datalad.utils import COPY_BUFSIZE
label_desc: Use image node_id 2 for calling the ExitingThread obj's underlying member method code with example usage: obj.request_exit() without return types