Ruby
2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)
|
Go to the source code of this file.
Data Structures | |
struct | coroutine_context |
Macros | |
#define | COROUTINE __attribute__((noreturn, fastcall)) void |
#define | COROUTINE_LIMITED_ADDRESS_SPACE |
Typedefs | |
typedef COROUTINE(* | coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) __attribute__((fastcall)) |
Enumerations | |
enum | { COROUTINE_REGISTERS = 4 } |
Functions | |
struct coroutine_context * | coroutine_transfer (struct coroutine_context *current, struct coroutine_context *target) __attribute__((fastcall)) |
#define COROUTINE __attribute__((noreturn, fastcall)) void |
typedef COROUTINE(* coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) __attribute__((fastcall)) |
struct coroutine_context* coroutine_transfer | ( | struct coroutine_context * | current, |
struct coroutine_context * | target | ||
) |
Definition at line 115 of file Context.c.
References assert, coroutine_context::base, coroutine_restore_stack(), coroutine_save_stack(), coroutine_context::from, and coroutine_context::stack.