Esempio n. 1
0
 def destroy(thrd, h):
     _c.destroy(thrd._thrd, h)
Esempio n. 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)
Esempio n. 4
0
 def destroy(self, thrd, suspstack):
     h = suspstack.handle
     suspstack.handle = _c.null_handle
     _c.destroy(thrd._thrd, h)
Esempio n. 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")
Esempio n. 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")
Esempio n. 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)