Created originally on Bitbucket by unbit (Roberto De Ioris)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
The patch adds proper gil release an nbthreads counter increase in the pypy_attach_thread c function