limited-country-20626
10/04/2018, 5:26 PMaloof-angle-91616
10/07/2018, 2:33 AMzinc_compile.py
earlier for a separate reason, and it subclasses JvmCompile
, and at the bottom of JvmCompile.do_compile(self)
(called by the self.execute()
method), you can see exec_graph = ExecutionGraph(jobs, self.get_options().print_exception_stacktrace)
. if you then look in execution_graph.py
, ExecutionGraph
is what i thought handled the parallelism directly, but actually it's WorkerPool
-- at the top of worker_pool.py
you'll see at the top of the file from multiprocessing.pool import ThreadPool
. I would probably look there to see what mechanisms there are for managing and querying the status of individual threads (which is a generally useful sort of thing to think about, i think).aloof-angle-91616
10/07/2018, 2:34 AMaloof-angle-91616
10/07/2018, 5:14 PMaloof-angle-91616
10/07/2018, 5:15 PM