Ruby: coroutine/asyncify/Context.c Source File

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Context.c
1#include "Context.h"
2
3void coroutine_trampoline(void * _start, void * _context)
4{
5 coroutine_start start = (coroutine_start)_start;
6 struct coroutine_context * context = _context;
7 rb_wasm_set_stack_pointer(context->current_sp);
8
9 start(context->from, context);
10}
coroutine_context
Definition Context.h:36