コード例 #1
0
ファイル: gil.py プロジェクト: zielmicha/pypy
 def _initialize_gil(self, space):
     rgil.gil_allocate()
コード例 #2
0
ファイル: gil.py プロジェクト: Darriall/pypy
 def _initialize_gil(self, space):
     rgil.gil_allocate()
コード例 #3
0
ファイル: threads.py プロジェクト: johnwalker/pixie
 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)
コード例 #4
0
ファイル: threads.py プロジェクト: kgann/pixie
 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)