Status of "remove the gil"

There was some talk awhile back of using fine-grained locks in PyPy to remove the gil. From the bitbucket repo it looks like the experiments never made it into master. Is there any work that was done here that could be used by other RPython interpreters, especially for interpreters that default to immutable or share-nothing semantics? Thanks, Timothy Baldridge

Hi Timothy, On 2 March 2018 at 03:22, Timothy Baldridge <tbaldridge@gmail.com> wrote:
It was done in the nogil-unsafe-2 branch, but abandoned for now. You'd have to dig in that branch and see if it can be used as a starting point for your case. Notably, there's the GC which was made resistant to multithreaded usage. As far as I remember, though, nothing was done yet on the JIT front. A bientôt, Armin.

Hi Timothy, On 2 March 2018 at 03:22, Timothy Baldridge <tbaldridge@gmail.com> wrote:
It was done in the nogil-unsafe-2 branch, but abandoned for now. You'd have to dig in that branch and see if it can be used as a starting point for your case. Notably, there's the GC which was made resistant to multithreaded usage. As far as I remember, though, nothing was done yet on the JIT front. A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Timothy Baldridge