Python GIL
Reported by Paul J. Davis | March 25th, 2009 @ 07:01 PM
similar to using the appropriate request calls I need to unlock and lock the GIL appropriately when I'm inside the JS VM. I'll need to take special care in pyobject.c when JS calls enter back into Python land.
This is a preliminary maybe sort of thing. I could see it being possible that acquiring and freeing the GIL to fast may cause things to slow down.
Comments and changes to this ticket
-
Paul J. Davis May 10th, 2009 @ 12:06 AM
- Tag changed from gil, python to gil, maybeforbounty, python
- State changed from new to hold
I'm gonna ignore this for a long time. And by long time I mean until I get a patch or a comission. Because of how the request begin/end stuff works it'll get rather confusing when I'm coming in and out of JavaScript.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Python/JavaScript bridge module, making use of Mozilla's spidermonkey JavaScript implementation. Allows implementation of JavaScript classes, objects and functions in Python, and evaluation and calling of JavaScript scripts and functions respectively. Borrows heavily from Claes Jacobssen's Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding.