class_docstr: Maintain worker's information in a worker node. 
  
  Attributes:
      cpu_num(int): The number of CPUs to be used in this worker.
      gpu_num(int): The number of GPUs to be used in this worker.
      jobs(set): A set that records job addresses provided to the master.
      worker_address(str): Address of the worker.
code: def __init__(
      self, worker_address, initialized_jobs, cpu_num, gpu_num=0
  ):
      self.worker_address = worker_address
      self.jobs = dict()
      for job in initialized_jobs:
          self.jobs[job.job_address] = job
      self._lock = threading.Lock()
      self.cpu_num = cpu_num
      self.gpu_num = gpu_num
      self.device_count = self.cpu_num + self.gpu_num
  
file_path: PARL/parl/remote/status.py
imports: import threading
  from parl.utils import logger
  import signal
  import os
label_desc: Use image node_id 1 to create a new WorkerStatus object from inherited base classes: object with example: obj = WorkerStatus(worker_address, initialized_jobs, cpu_num, gpu_num)