Python, Concurrency, Parallelism, Multiprocessing, Asynchronous.
multiprocessing.Process(target=calculator, args=(10000000,)) p2 = multiprocessing.Process(target=calculator, args=(20000000,)) p1.start() p2.start() p1.join() p2.join() print("Runtime: ", time.time() - start_time) ###### Runtime: 9.348116827011108 By using multiprocesses, the task execution time is