Home
last modified time | relevance | path

Searched refs:self (Results 1 – 5 of 5) sorted by relevance

/ext-fiber/src/
H A Dfiber_asm.c43 context->self = NULL; in zend_fiber_trampoline()
59 context->self = make_fcontext(stack, context->stack.size, zend_fiber_trampoline); in zend_fiber_init_context()
61 if (UNEXPECTED(!context->self)) { in zend_fiber_init_context()
79 ZEND_ASSERT(to && to->self && to->stack.pointer && "Invalid fiber context"); in zend_fiber_switch_context()
81 transfer_t transfer = jump_fcontext(to->self, to); in zend_fiber_switch_context()
83 to->self = transfer.context; in zend_fiber_switch_context()
/ext-fiber/tests/
H A Dresume-running-fiber.phpt9 $self = Fiber::getCurrent();
10 $self->resume();
/ext-fiber/stubs/
H A DFiber.php78 public static function getCurrent(): ?self {}
/ext-fiber/
H A Dfiber.h56 void *self; member
H A DREADME.md104 * @return self|null Returns the currently executing fiber instance or NULL if in {main}.
106 public static function getCurrent(): ?self {}

Completed in 8 milliseconds