request for new Executor in `concurrent.futures`

Nov. 8, 2021
11:29 p.m.
Currently, There is two types of Executor in `concurrent.futures`. They are `ThreadPoolExecutor` and `ProcessPoolExecutor`, there is GIL limitation of `ThreadPoolExecutor` and `ProcessPoolExecutor` need to use `pickle` which have limitation on decorated function. It would be nice to add new Executor `UnixForkExecutor` which is based on `os.fork` and shared memory (to return future). The drawback of UnixForkExecutor can only be used on Unix platform. This is not a problem, because the majority people use python for parallel computing on Unix platform. Anyone have any opinion about it?
1227
Age (days ago)
1227
Last active (days ago)
1 comments
2 participants
participants (2)
-
Evan Greenup
-
Mark Gordon