├── .gitattributes ├── .gitignore ├── Chapter 01 ├── RxPySample.py ├── concurrentCalculation.py ├── concurrentImage.py ├── eventDriven.py ├── getCPUCount.py ├── sequentialCalculation.py ├── sequentialImage.py └── simpleCounter.py ├── Chapter 02 ├── contextSwitching.py ├── ioBottleneck.py ├── ioBottleneck2.py ├── ioBottleneck3.py └── taskSheduler.py ├── Chapter 03 ├── classThread.py ├── currentThread.py ├── daemonThread.py ├── enumerateThreads.py ├── forkVsCreate.py ├── forking.py ├── forkingProcess.py ├── gettingCurrentThread.py ├── identifyingThreads.py ├── killThread.py ├── mainThread.py ├── orphanThreads.py ├── slowDown.py ├── startingMulti.py ├── startingThread.py ├── threadLifecycle.py └── totalThreads.py ├── Chapter 04 ├── barriers.py ├── boundedSemaphores.py ├── dataRaces.py ├── diningPhilosophers.py ├── events.py ├── lockExample.py ├── producerConsumer.py ├── pubSub.py ├── rlockVLock.py ├── rlocks.py ├── semaphores.py └── threadJoin.py ├── Chapter 05 ├── appendDeque.py ├── classDecorator.py ├── decoratorSet.py ├── deque.py ├── deque.py.lprof ├── fullQueue.py ├── insertDeque.py ├── lifoQueues.py ├── lockSet.py ├── priorityQueue.py ├── queueJoin.py ├── queueOperations.py ├── queues.py ├── removeDeque.py ├── rotateDeque.py ├── taskDone.py └── webCrawler.py ├── Chapter 06 ├── __pycache__ │ ├── profile.cpython-36.pyc │ ├── pycallgraph.cpython-36.pyc │ ├── timeitCode.cpython-36.pyc │ ├── timeitTest.cpython-36.pyc │ └── timer.cpython-36.pyc ├── decorator.py ├── mprofile_20170518210842.dat ├── mprofile_20170518210849.dat ├── mprofile_20170518210919.dat ├── profileTest.py ├── profileTest.py.lprof ├── pycallgraph.py ├── pycallgraph.pyc ├── threadException.py ├── timeitCode.py ├── timeitConstructor.py ├── timeitContext.py ├── timeitDecorator.py ├── timeitTest.py ├── timer.py └── unittest.py ├── Chapter 07 ├── asCompleted.py ├── cancellingCallable.py ├── exceptionThread.py ├── mapCallback.py ├── poolImprovement.py ├── processPool.py ├── processPoolExe.py ├── results.py ├── settingCallbacks.py ├── shutdownExecutor.py ├── threadPool.py ├── threadPoolExe.py ├── threadPoolMap.py └── verbose.py ├── Chapter 08 ├── applyAsync.py ├── applyPool.py ├── client.py ├── contextPool.py ├── daemonProcess.py ├── exceptionHandling.py ├── generators.py ├── identifyProcess.py ├── listener.py ├── logging.py ├── manager.py ├── mapPool.py ├── maxTasks.py ├── mpExample.py ├── mpQueue.py ├── myapp.log ├── nameProcess.py ├── pipes.py ├── pycsp.py ├── pycsp1.py ├── spawnProcess.py ├── starmap.py ├── starmapAsync.py ├── subclass.py ├── subprocess.py └── terminateProcess.py ├── Chapter 09 ├── asyncioCondition.py ├── asyncioEvent.py ├── asyncioLock.py ├── asyncioQueue.py ├── asyncioTasks.py ├── chainCoroutine.py ├── debugAsyncio.py ├── ensureFuture.py ├── eventLoops.py ├── future.py ├── generator.py ├── geventSimple.py ├── greenlet.py ├── loopForever.py ├── runUntilComplete.py ├── runningLoop.py ├── simpleTwisted.py ├── tcpClient.py ├── tcpServer.py ├── tmp │ └── index.html ├── twisted.py └── webserver.py ├── Chapter 10 ├── allLambda.py ├── chainingOperators.py ├── combining.py ├── concurrency.py ├── createObservable.py ├── emitEvents.py ├── lambda.py ├── mergeAll.py ├── multicast.py ├── multicasting.py ├── observables.py ├── pyFunctional.py └── pyfilter.py ├── Chapter 11 ├── example.py ├── gpu.py ├── matrices.py ├── numba.py ├── pyOpenCL.py └── theano.py ├── Chapter 12 ├── 1.py └── 2.py ├── LICENSE └── README.md /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter 01/RxPySample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/RxPySample.py -------------------------------------------------------------------------------- /Chapter 01/concurrentCalculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/concurrentCalculation.py -------------------------------------------------------------------------------- /Chapter 01/concurrentImage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/concurrentImage.py -------------------------------------------------------------------------------- /Chapter 01/eventDriven.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/eventDriven.py -------------------------------------------------------------------------------- /Chapter 01/getCPUCount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/getCPUCount.py -------------------------------------------------------------------------------- /Chapter 01/sequentialCalculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/sequentialCalculation.py -------------------------------------------------------------------------------- /Chapter 01/sequentialImage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/sequentialImage.py -------------------------------------------------------------------------------- /Chapter 01/simpleCounter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 01/simpleCounter.py -------------------------------------------------------------------------------- /Chapter 02/contextSwitching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 02/contextSwitching.py -------------------------------------------------------------------------------- /Chapter 02/ioBottleneck.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 02/ioBottleneck.py -------------------------------------------------------------------------------- /Chapter 02/ioBottleneck2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 02/ioBottleneck2.py -------------------------------------------------------------------------------- /Chapter 02/ioBottleneck3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 02/ioBottleneck3.py -------------------------------------------------------------------------------- /Chapter 02/taskSheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 02/taskSheduler.py -------------------------------------------------------------------------------- /Chapter 03/classThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/classThread.py -------------------------------------------------------------------------------- /Chapter 03/currentThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/currentThread.py -------------------------------------------------------------------------------- /Chapter 03/daemonThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/daemonThread.py -------------------------------------------------------------------------------- /Chapter 03/enumerateThreads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/enumerateThreads.py -------------------------------------------------------------------------------- /Chapter 03/forkVsCreate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/forkVsCreate.py -------------------------------------------------------------------------------- /Chapter 03/forking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/forking.py -------------------------------------------------------------------------------- /Chapter 03/forkingProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/forkingProcess.py -------------------------------------------------------------------------------- /Chapter 03/gettingCurrentThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/gettingCurrentThread.py -------------------------------------------------------------------------------- /Chapter 03/identifyingThreads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/identifyingThreads.py -------------------------------------------------------------------------------- /Chapter 03/killThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/killThread.py -------------------------------------------------------------------------------- /Chapter 03/mainThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/mainThread.py -------------------------------------------------------------------------------- /Chapter 03/orphanThreads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/orphanThreads.py -------------------------------------------------------------------------------- /Chapter 03/slowDown.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/slowDown.py -------------------------------------------------------------------------------- /Chapter 03/startingMulti.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/startingMulti.py -------------------------------------------------------------------------------- /Chapter 03/startingThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/startingThread.py -------------------------------------------------------------------------------- /Chapter 03/threadLifecycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/threadLifecycle.py -------------------------------------------------------------------------------- /Chapter 03/totalThreads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 03/totalThreads.py -------------------------------------------------------------------------------- /Chapter 04/barriers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/barriers.py -------------------------------------------------------------------------------- /Chapter 04/boundedSemaphores.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/boundedSemaphores.py -------------------------------------------------------------------------------- /Chapter 04/dataRaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/dataRaces.py -------------------------------------------------------------------------------- /Chapter 04/diningPhilosophers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/diningPhilosophers.py -------------------------------------------------------------------------------- /Chapter 04/events.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/events.py -------------------------------------------------------------------------------- /Chapter 04/lockExample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/lockExample.py -------------------------------------------------------------------------------- /Chapter 04/producerConsumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/producerConsumer.py -------------------------------------------------------------------------------- /Chapter 04/pubSub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/pubSub.py -------------------------------------------------------------------------------- /Chapter 04/rlockVLock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/rlockVLock.py -------------------------------------------------------------------------------- /Chapter 04/rlocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/rlocks.py -------------------------------------------------------------------------------- /Chapter 04/semaphores.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/semaphores.py -------------------------------------------------------------------------------- /Chapter 04/threadJoin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 04/threadJoin.py -------------------------------------------------------------------------------- /Chapter 05/appendDeque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/appendDeque.py -------------------------------------------------------------------------------- /Chapter 05/classDecorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/classDecorator.py -------------------------------------------------------------------------------- /Chapter 05/decoratorSet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/decoratorSet.py -------------------------------------------------------------------------------- /Chapter 05/deque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/deque.py -------------------------------------------------------------------------------- /Chapter 05/deque.py.lprof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/deque.py.lprof -------------------------------------------------------------------------------- /Chapter 05/fullQueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/fullQueue.py -------------------------------------------------------------------------------- /Chapter 05/insertDeque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/insertDeque.py -------------------------------------------------------------------------------- /Chapter 05/lifoQueues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/lifoQueues.py -------------------------------------------------------------------------------- /Chapter 05/lockSet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/lockSet.py -------------------------------------------------------------------------------- /Chapter 05/priorityQueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/priorityQueue.py -------------------------------------------------------------------------------- /Chapter 05/queueJoin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/queueJoin.py -------------------------------------------------------------------------------- /Chapter 05/queueOperations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/queueOperations.py -------------------------------------------------------------------------------- /Chapter 05/queues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/queues.py -------------------------------------------------------------------------------- /Chapter 05/removeDeque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/removeDeque.py -------------------------------------------------------------------------------- /Chapter 05/rotateDeque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/rotateDeque.py -------------------------------------------------------------------------------- /Chapter 05/taskDone.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter 05/webCrawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 05/webCrawler.py -------------------------------------------------------------------------------- /Chapter 06/__pycache__/profile.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/__pycache__/profile.cpython-36.pyc -------------------------------------------------------------------------------- /Chapter 06/__pycache__/pycallgraph.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/__pycache__/pycallgraph.cpython-36.pyc -------------------------------------------------------------------------------- /Chapter 06/__pycache__/timeitCode.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/__pycache__/timeitCode.cpython-36.pyc -------------------------------------------------------------------------------- /Chapter 06/__pycache__/timeitTest.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/__pycache__/timeitTest.cpython-36.pyc -------------------------------------------------------------------------------- /Chapter 06/__pycache__/timer.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/__pycache__/timer.cpython-36.pyc -------------------------------------------------------------------------------- /Chapter 06/decorator.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter 06/mprofile_20170518210842.dat: -------------------------------------------------------------------------------- 1 | CMDLINE /usr/local/bin/python3.6 load.py 2 | MEM 6.746094 1495138122.0703 3 | -------------------------------------------------------------------------------- /Chapter 06/mprofile_20170518210849.dat: -------------------------------------------------------------------------------- 1 | CMDLINE /usr/local/bin/python3.6 profileTest.py 2 | MEM 0.660156 1495138129.3298 3 | -------------------------------------------------------------------------------- /Chapter 06/mprofile_20170518210919.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/mprofile_20170518210919.dat -------------------------------------------------------------------------------- /Chapter 06/profileTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/profileTest.py -------------------------------------------------------------------------------- /Chapter 06/profileTest.py.lprof: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/profileTest.py.lprof -------------------------------------------------------------------------------- /Chapter 06/pycallgraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/pycallgraph.py -------------------------------------------------------------------------------- /Chapter 06/pycallgraph.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/pycallgraph.pyc -------------------------------------------------------------------------------- /Chapter 06/threadException.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/threadException.py -------------------------------------------------------------------------------- /Chapter 06/timeitCode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/timeitCode.py -------------------------------------------------------------------------------- /Chapter 06/timeitConstructor.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter 06/timeitContext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/timeitContext.py -------------------------------------------------------------------------------- /Chapter 06/timeitDecorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/timeitDecorator.py -------------------------------------------------------------------------------- /Chapter 06/timeitTest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/timeitTest.py -------------------------------------------------------------------------------- /Chapter 06/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/timer.py -------------------------------------------------------------------------------- /Chapter 06/unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 06/unittest.py -------------------------------------------------------------------------------- /Chapter 07/asCompleted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/asCompleted.py -------------------------------------------------------------------------------- /Chapter 07/cancellingCallable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/cancellingCallable.py -------------------------------------------------------------------------------- /Chapter 07/exceptionThread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/exceptionThread.py -------------------------------------------------------------------------------- /Chapter 07/mapCallback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/mapCallback.py -------------------------------------------------------------------------------- /Chapter 07/poolImprovement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/poolImprovement.py -------------------------------------------------------------------------------- /Chapter 07/processPool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/processPool.py -------------------------------------------------------------------------------- /Chapter 07/processPoolExe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/processPoolExe.py -------------------------------------------------------------------------------- /Chapter 07/results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/results.py -------------------------------------------------------------------------------- /Chapter 07/settingCallbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/settingCallbacks.py -------------------------------------------------------------------------------- /Chapter 07/shutdownExecutor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/shutdownExecutor.py -------------------------------------------------------------------------------- /Chapter 07/threadPool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/threadPool.py -------------------------------------------------------------------------------- /Chapter 07/threadPoolExe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/threadPoolExe.py -------------------------------------------------------------------------------- /Chapter 07/threadPoolMap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/threadPoolMap.py -------------------------------------------------------------------------------- /Chapter 07/verbose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 07/verbose.py -------------------------------------------------------------------------------- /Chapter 08/applyAsync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/applyAsync.py -------------------------------------------------------------------------------- /Chapter 08/applyPool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/applyPool.py -------------------------------------------------------------------------------- /Chapter 08/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/client.py -------------------------------------------------------------------------------- /Chapter 08/contextPool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/contextPool.py -------------------------------------------------------------------------------- /Chapter 08/daemonProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/daemonProcess.py -------------------------------------------------------------------------------- /Chapter 08/exceptionHandling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/exceptionHandling.py -------------------------------------------------------------------------------- /Chapter 08/generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/generators.py -------------------------------------------------------------------------------- /Chapter 08/identifyProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/identifyProcess.py -------------------------------------------------------------------------------- /Chapter 08/listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/listener.py -------------------------------------------------------------------------------- /Chapter 08/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/logging.py -------------------------------------------------------------------------------- /Chapter 08/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/manager.py -------------------------------------------------------------------------------- /Chapter 08/mapPool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/mapPool.py -------------------------------------------------------------------------------- /Chapter 08/maxTasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/maxTasks.py -------------------------------------------------------------------------------- /Chapter 08/mpExample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/mpExample.py -------------------------------------------------------------------------------- /Chapter 08/mpQueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/mpQueue.py -------------------------------------------------------------------------------- /Chapter 08/myapp.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/myapp.log -------------------------------------------------------------------------------- /Chapter 08/nameProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/nameProcess.py -------------------------------------------------------------------------------- /Chapter 08/pipes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/pipes.py -------------------------------------------------------------------------------- /Chapter 08/pycsp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/pycsp.py -------------------------------------------------------------------------------- /Chapter 08/pycsp1.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter 08/spawnProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/spawnProcess.py -------------------------------------------------------------------------------- /Chapter 08/starmap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/starmap.py -------------------------------------------------------------------------------- /Chapter 08/starmapAsync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/starmapAsync.py -------------------------------------------------------------------------------- /Chapter 08/subclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/subclass.py -------------------------------------------------------------------------------- /Chapter 08/subprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/subprocess.py -------------------------------------------------------------------------------- /Chapter 08/terminateProcess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 08/terminateProcess.py -------------------------------------------------------------------------------- /Chapter 09/asyncioCondition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/asyncioCondition.py -------------------------------------------------------------------------------- /Chapter 09/asyncioEvent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/asyncioEvent.py -------------------------------------------------------------------------------- /Chapter 09/asyncioLock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/asyncioLock.py -------------------------------------------------------------------------------- /Chapter 09/asyncioQueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/asyncioQueue.py -------------------------------------------------------------------------------- /Chapter 09/asyncioTasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/asyncioTasks.py -------------------------------------------------------------------------------- /Chapter 09/chainCoroutine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/chainCoroutine.py -------------------------------------------------------------------------------- /Chapter 09/debugAsyncio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/debugAsyncio.py -------------------------------------------------------------------------------- /Chapter 09/ensureFuture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/ensureFuture.py -------------------------------------------------------------------------------- /Chapter 09/eventLoops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/eventLoops.py -------------------------------------------------------------------------------- /Chapter 09/future.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/future.py -------------------------------------------------------------------------------- /Chapter 09/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/generator.py -------------------------------------------------------------------------------- /Chapter 09/geventSimple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/geventSimple.py -------------------------------------------------------------------------------- /Chapter 09/greenlet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/greenlet.py -------------------------------------------------------------------------------- /Chapter 09/loopForever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/loopForever.py -------------------------------------------------------------------------------- /Chapter 09/runUntilComplete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/runUntilComplete.py -------------------------------------------------------------------------------- /Chapter 09/runningLoop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/runningLoop.py -------------------------------------------------------------------------------- /Chapter 09/simpleTwisted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/simpleTwisted.py -------------------------------------------------------------------------------- /Chapter 09/tcpClient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/tcpClient.py -------------------------------------------------------------------------------- /Chapter 09/tcpServer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/tcpServer.py -------------------------------------------------------------------------------- /Chapter 09/tmp/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/tmp/index.html -------------------------------------------------------------------------------- /Chapter 09/twisted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/twisted.py -------------------------------------------------------------------------------- /Chapter 09/webserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 09/webserver.py -------------------------------------------------------------------------------- /Chapter 10/allLambda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/allLambda.py -------------------------------------------------------------------------------- /Chapter 10/chainingOperators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/chainingOperators.py -------------------------------------------------------------------------------- /Chapter 10/combining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/combining.py -------------------------------------------------------------------------------- /Chapter 10/concurrency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/concurrency.py -------------------------------------------------------------------------------- /Chapter 10/createObservable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/createObservable.py -------------------------------------------------------------------------------- /Chapter 10/emitEvents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/emitEvents.py -------------------------------------------------------------------------------- /Chapter 10/lambda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/lambda.py -------------------------------------------------------------------------------- /Chapter 10/mergeAll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/mergeAll.py -------------------------------------------------------------------------------- /Chapter 10/multicast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/multicast.py -------------------------------------------------------------------------------- /Chapter 10/multicasting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/multicasting.py -------------------------------------------------------------------------------- /Chapter 10/observables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/observables.py -------------------------------------------------------------------------------- /Chapter 10/pyFunctional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/pyFunctional.py -------------------------------------------------------------------------------- /Chapter 10/pyfilter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 10/pyfilter.py -------------------------------------------------------------------------------- /Chapter 11/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 11/example.py -------------------------------------------------------------------------------- /Chapter 11/gpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 11/gpu.py -------------------------------------------------------------------------------- /Chapter 11/matrices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 11/matrices.py -------------------------------------------------------------------------------- /Chapter 11/numba.py: -------------------------------------------------------------------------------- 1 | import numba 2 | 3 | -------------------------------------------------------------------------------- /Chapter 11/pyOpenCL.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 11/pyOpenCL.py -------------------------------------------------------------------------------- /Chapter 11/theano.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 11/theano.py -------------------------------------------------------------------------------- /Chapter 12/1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 12/1.py -------------------------------------------------------------------------------- /Chapter 12/2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/Chapter 12/2.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learning-Concurrency-in-Python/HEAD/README.md --------------------------------------------------------------------------------