Grokking Concurrency in Python
Vote

0% completed

​

InterpreterPoolExecutor

A pool whose workers each own an interpreter keeps the executor interface, so submit, map, futures and shutdown work as they do on a thread pool. It also runs Python code in parallel on the standard build, because every worker has its own GIL.

Code does not always behave as it did on a thread pool, however, and some code cannot run in a worker at all.

The Executor

Interpreters in One Process built eight workers by hand from interpreters, queues and threads. **InterpreterPoolExecutor is an executor in

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content