carpentries-incubator / carpentries-incubator/lesson-parallel-python

Use `concurrent.futures` module for running things in parallel

Open
#136 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dockerfile
Stars
11
Forks
15
Avg merge
3m
Merged PRs (30d)
3

Description

The simplest way to run something in multiple threads/processes is through the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) module instead of 'manually' managing the threads/processes as currently done in [https://carpentries-incubator.github.io/lesson-parallel-python/threads-and-processes.html. Therefore it might be nice to ](https://github.com/carpentries-incubator/lesson-parallel-python/blob/f839f0f9dfa5d81e163775a127e7d7e8675ff114/episodes/threads-and-processes.md?plain=1#L28-L38)

Therefore, it might be nice to use the `concurrent.futures` module instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.