class_docstr: Shim class to make a thread look like a process to the DataLoader class.
class_docstr_tok: ["Shim","class","to","make","a","thread","look","like","a","process","to","the","DataLoader","class","."]
code: def pid(self):
      return id(self)
  
imports: from __future__ import annotations
  from multiprocessing.context import SpawnContext
  from queue import Empty, Full, Queue
  from threading import Thread
  import torch
  from monai.data import DataLoader, Dataset
label_desc: Use image node_id 1 for calling the _ProcessThread obj's underlying member method code with example usage: obj.pid() and returns: id