apple / apple/foundationdb

Provide ability for Python bindings to avoid `multiprocessing`

Open
#8,220 2 comments 0 reactions 1 assignee Claimed by @sfc-gh-abeamon View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

I am wanting to use the Python binding from a unikernel-type context -- the concept of processes doesn't apply, so the use of Python `multiprocessing` doesn't work here:
https://github.com/apple/foundationdb/blob/main/bindings/python/fdb/impl.py#L648

`threading` **is** available, so ideally that could be used instead? Perhaps selecting `multiprocessing` vs `threading` in a user-configurable way?

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.