parameters: (self)
docstring: @return: number of threads in the pool.
function: def get_thread_count(self):
          """@return: number of threads in the pool."""
          self.__resizeLock.acquire()
          try:
              return len(self.__threads)
          finally:
              self.__resizeLock.release()
function_tokens: def get_thread_count ( self ) : self . __resizeLock . acquire ( ) try : return len ( self . __threads ) finally : self . __resizeLock . release ( )