Ejemplo n.º 1
0
 def __init__(self, config):
     self._gcrootfinder = _getgcrootfinder(config, we_are_translated())
     self._thrd = _c.newthread()
     if not self._thrd:
         raise MemoryError
     self._thrd_deleter = StackletThreadDeleter(self._thrd)
     if DEBUG:
         assert debug.sthread is None, "multithread debug support missing"
         debug.sthread = self
Ejemplo n.º 2
0
 def __init__(self, _argument_ignored_for_backward_compatibility=None):
     self._gcrootfinder = _getgcrootfinder(fetch_translated_config())
     self._thrd = _c.newthread()
     if not self._thrd:
         raise MemoryError
     self._thrd_deleter = StackletThreadDeleter(self._thrd)
     if DEBUG:
         assert debug.sthread is None, "multithread debug support missing"
         debug.sthread = self
Ejemplo n.º 3
0
 def __init__(self, config):
     self._gcrootfinder = _getgcrootfinder(config, we_are_translated())
     self._thrd = _c.newthread()
     if not self._thrd:
         raise MemoryError
     self._thrd_deleter = StackletThreadDeleter(self._thrd)
     if DEBUG:
         assert debug.sthread is None, "multithread debug support missing"
         debug.sthread = self
Ejemplo n.º 4
0
 def __init__(self, _argument_ignored_for_backward_compatibility=None):
     self._gcrootfinder = _getgcrootfinder(fetch_translated_config())
     self._thrd = _c.newthread()
     if not self._thrd:
         raise MemoryError
     self._thrd_deleter = StackletThreadDeleter(self._thrd)
     if DEBUG:
         assert debug.sthread is None, "multithread debug support missing"
         debug.sthread = self