class_docstr: Server with a fixed size pool of worker subprocesses to service requests
  
  Note that if you need shared state between the handlers - it's up to you!
  Written by Dvir Volk, doat.com
docstr: Set the number of worker threads that should be created
docstr_tok: ["Set","the","number","of","worker","threads","that","should","be","created"]
code: def setNumWorkers(self, num):
      """Set the number of worker threads that should be created"""
      self.numWorkers = num
  
file_path: infinity/third_party/thrift/lib/py/src/server/TProcessPoolServer.py
imports: import logging
  from multiprocessing import Process, Value, Condition
  from .TServer import TServer
  from thrift.transport.TTransport import TTransportException
label_desc: Use image node_id 4 for calling the TProcessPoolServer obj's underlying member method code with example usage: obj.setNumWorkers(num) without return types