Пример #1
0
 def destroy(thrd, h):
     _c.destroy(thrd._thrd, h)
Пример #2
0
 def destroy(self, thrd, suspstack):
     h = suspstack.handle
     suspstack.handle = _c.null_handle
     _c.destroy(thrd._thrd, h)
 def destroy(thrd, suspstack):
     h = llop.gc_shadowstackref_context(llmemory.Address, suspstack)
     h = llmemory.cast_adr_to_ptr(h, _c.handle)
     llop.gc_shadowstackref_destroy(lltype.Void, suspstack)
     _c.destroy(thrd._thrd, h)
Пример #4
0
 def destroy(self, thrd, suspstack):
     h = suspstack.handle
     suspstack.handle = _c.null_handle
     _c.destroy(thrd._thrd, h)
Пример #5
0
 def destroy(thrd, h):
     _c.destroy(thrd._thrd, h)
     if objectmodel.we_are_translated():
         debug.debug_print("not using a framework GC: "
                           "stacklet_destroy() may leak")
Пример #6
0
 def destroy(thrd, h):
     _c.destroy(thrd._thrd, h)
     if objectmodel.we_are_translated():
         debug.debug_print("not using a framework GC: "
                           "stacklet_destroy() may leak")
Пример #7
0
 def destroy(thrd, suspstack):
     h = llop.gc_shadowstackref_context(llmemory.Address, suspstack)
     h = llmemory.cast_adr_to_ptr(h, _c.handle)
     llop.gc_shadowstackref_destroy(lltype.Void, suspstack)
     _c.destroy(thrd._thrd, h)