Esempio n. 1
0
static
void p7_coro_cntx_delete_(struct p7_coro_cntx *cntx) {
    __auto_type allocator = p7_root_alloc_get_proxy();
    scraft_deallocate(allocator, cntx);
}
Esempio n. 2
0
static
void p7_coro_delete_(struct p7_coro *coro) {
    p7_coro_cntx_delete_(coro->cntx);
    __auto_type allocator = p7_root_alloc_get_proxy();
    scraft_deallocate(allocator, coro);
}
Esempio n. 3
0
// no ruin
void p7r_stack_hint_delete(struct p7r_stack_hint *hint) {
    __auto_type allocator = p7r_root_alloc_get_proxy();
    scraft_deallocate(allocator, hint);
}