replace this line with
`compile_results = thread_pool.map(compile_result, thread_args)`