Commit e3f24ff6 authored by litaolemo's avatar litaolemo

update

parent 53c7af78
...@@ -485,12 +485,12 @@ def task_main(): ...@@ -485,12 +485,12 @@ def task_main():
if __name__ == "__main__": if __name__ == "__main__":
# from concurrent.futures import ProcessPoolExecutor from concurrent.futures import ProcessPoolExecutor
# executor = ProcessPoolExecutor(max_workers=4) executor = ProcessPoolExecutor(max_workers=5)
# futures = [] futures = []
# for processe in range(4): for processe in range(4):
# future = executor.submit(task_main) future = executor.submit(task_main)
# futures.append(future) futures.append(future)
# print('Processe %s start' % processe) print('Processe %s start' % processe)
# executor.shutdown(True) executor.shutdown(True)
task_main() # task_main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment