0

provided options are now checked against the available options

This commit is contained in:
Aaron Griffith
2011-06-11 00:01:12 -04:00
parent da706287c8
commit bfb92de7b7
3 changed files with 49 additions and 6 deletions

View File

@@ -148,7 +148,9 @@ class RenderNode(object):
pool = FakePool()
pool_initializer(self)
else:
pool_initializer(self)
pool = multiprocessing.Pool(processes=procs,initializer=pool_initializer,initargs=(self,))
#warm up the pool so it reports all the worker id's
if logging.getLogger().level >= 10:
pool.map(bool,xrange(multiprocessing.cpu_count()),1)