class_docstr: Snapshot writer that uses a thread queue.
  
  This class creates a thread and a queue by :mod:`threading` and
  :mod:`queue` modules
  respectively. The thread will be a consumer of the queue, and the main
  thread will be a producer of the queue.
  
  .. seealso::
  
      - :meth:`chainer.training.extensions.snapshot`
code: def create_consumer(self, q):
      return threading.Thread(target=self.consume, args=(q,))
  
imports: import multiprocessing
  import os
  import shutil
  import threading
  from six.moves import queue
  from chainer.serializers import npz
  from chainer import utils
label_desc: Use image node_id 3 for calling the ThreadQueueWriter obj's underlying member method code with example usage: obj.create_consumer(q) and returns: threading