class_docstr: A class that implements an event writer that supports concurrent logging and global logging across
  different modules.
  
  The GlobalSummaryWriter class provides a set of API to write TensorBoard events from different processes.
  The writer instance can be accessed from different processes or modules. Also, the instance maintains
  the ``global_step`` value itself so that the interleaved requests to write an event will not conflict
  each other. This ensures that the resulting event file is TensorBoard compatible.
  With GlobalSummaryWriter, you can easily log the metrics of your parallel-trained model.
  The GlobalSummaryWriter and also be used like the ``logging`` module of Python.
  See how ``getSummaryWriter`` is used below.
code: def close(self):
      self.smw.flush()
      self.smw.close()
  
file_path: tensorboardX/tensorboardX/global_writer.py
imports: from .writer import SummaryWriter
  from multiprocessing import Value
  import multiprocessing
label_desc: Use image node_id 7 for calling the GlobalSummaryWriter obj's underlying member method code with example usage: obj.close() without return types