Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform some tests with Python Multithreading without GIL #177

Open
antoinecarme opened this issue Nov 6, 2021 · 1 comment
Open

Perform some tests with Python Multithreading without GIL #177

antoinecarme opened this issue Nov 6, 2021 · 1 comment

Comments

@antoinecarme
Copy link
Owner

As of 2021, CPython implementation still uses the infamous "global interpreter lock (GIL)".

This is the design point behind PyAF using the multiprocessing module and not multithreading.

Now, there is a POC to remove the GIL for CPython (thanks to @colesbury ):

https://github.com/colesbury/nogil

The goal of this issue is to perform some initial tests with nogil and PyAF.

Not sure if this will help with the upcoming PyAF release (Probably later).

@antoinecarme
Copy link
Owner Author

antoinecarme commented Nov 6, 2021

Pre-built Docker image (Python 3.9 , Debian BullsEye):

https://hub.docker.com/r/colesbury/python-nogil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant