$ python3 multiprocessing_example.pyTaskno0Taskno1Taskno2Taskno3Taskno4Taskno5Taskno6Taskno7Taskno8Taskno9^CProcessProcess-1:Traceback(most recent call last):File"multiprocessing_example.py",line47,inmain()File"multiprocessing_example.py",line37,inmain
p.join()File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py",line121,injoin
res=self._popen.wait(timeout)File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py",line51,inwaitreturnself.poll(os.WNOHANGiftimeout==0.0else0)File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py",line29,inpoll
pid,sts=os.waitpid(self.pid,flag)KeyboardInterruptTraceback(most recent call last):File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py",line249,in_bootstrap
self.run()File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py",line93,inrun
self._target(*self._args,**self._kwargs)File"multiprocessing_example.py",line9,indo_job
task=tasks_to_accomplish.get()File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/queues.py",line94,inget
res=self._recv_bytes()File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/connection.py",line216,inrecv_bytes
buf=self._recv_bytes(maxlength)File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/connection.py",line407,in_recv_bytes
buf=self._recv(4)File"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/connection.py",line379,in_recv
chunk=read(handle,remaining)KeyboardInterrupt