Re: [pypy-dev] [pypy-commit] pypy default: The gdbm library is not thread-safe. Add a global lock.

2015-05-07 Thread Armin Rigo
Hi Fijal, On 6 May 2015 at 23:15, Maciej Fijalkowski wrote: > I was thinking, maybe instead we can add a feature to cffi "don't > release the GIL" and use that there? (it would be faster for example) It would not work here: one problem is that gdbm_*() functions set the global variable gdbm_errn

Re: [pypy-dev] [pypy-commit] pypy default: The gdbm library is not thread-safe. Add a global lock.

2015-05-06 Thread Maciej Fijalkowski
I was thinking, maybe instead we can add a feature to cffi "don't release the GIL" and use that there? (it would be faster for example) On Wed, May 6, 2015 at 9:39 PM, arigo wrote: > Author: Armin Rigo > Branch: > Changeset: r77171:df44050e8e33 > Date: 2015-05-06 21:39 +0200 > http://bitbucket.o