sgs_CreateSubthread [function]

void sgs_CreateSubthread( sgs_Context* T, sgs_Context* C, sgs_Variable* out, sgs_StkIdx args, int gotthis )

Creates a thread (managed coroutine) with a starting function.