Ejemplo n.º 1
0
 def _initialize_gil(self, space):
     rgil.gil_allocate()
Ejemplo n.º 2
0
Archivo: gil.py Proyecto: Darriall/pypy
 def _initialize_gil(self, space):
     rgil.gil_allocate()
Ejemplo n.º 3
0
 def init(self):
     if not self._is_inited:
         self._is_inited = True
         self._lock = rthread.allocate_lock()
         rgil.gil_allocate()
         invoke_around_extcall(before_external_call, after_external_call)
Ejemplo n.º 4
0
 def init(self):
     if not self._is_inited:
         self._is_inited = True
         self._lock = rthread.allocate_lock()
         rgil.gil_allocate()
         invoke_around_extcall(before_external_call, after_external_call)