llvm.org GIT mirror llvm / 177552c
[opt-viewer] Kill parser processes before moving onto rendering The main benefit is that they release the memory they were holding onto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326127 91177308-0d34-0410-b5e6-96231b3b80d8 Adam Nemet 1 year, 5 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4747 initargs=(_current, _total,),
4848 processes=processes)
4949 result = pool.map(_wrapped_func, func_and_args, *args, **kwargs)
50 pool.close()
51 pool.join()
5052
5153 if should_print_progress:
5254 sys.stdout.write('\r')