[Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch) (original) (raw)
Josiah Carlson jcarlson at uci.edu
Mon Nov 6 16:53:45 CET 2006
- Previous message: [Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Next message: [Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Talin <talin at acm.org> wrote:
Guido van Rossum wrote: > I don't know how you define simple. In order to be able to have > separate GILs you have to remove all sharing of objects between > interpreters. And all other data structures, too. It would probably > kill performance too, because currently obmalloc relies on the GIL. Nitpick: You have to remove all sharing of mutable objects. One day, when we get "pure" GC with no refcounting, that will be a meaningful distinction. :)
Python already grew that feature a couple years back, but it never became mainline. Search google (I don't know the magic incantation off the top of my head), buf if I remember correctly, it wasn't a significant win if any at all.
- Josiah
- Previous message: [Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Next message: [Python-Dev] Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]