mirror of
https://github.com/janet-lang/janet
synced 2025-10-27 05:37:42 +00:00
Change fiber signal model to add user signals. This
should allow easier implementations of eventloops, threadpools, or custom data flows with fibers.
This commit is contained in:
@@ -92,13 +92,12 @@ enum DstInstructionType dst_instructions[DOP_INSTRUCTION_COUNT] = {
|
||||
DIT_SS, /* DOP_CALL, */
|
||||
DIT_S, /* DOP_TAILCALL, */
|
||||
DIT_SSS, /* DOP_RESUME, */
|
||||
DIT_SS, /* DOP_YIELD, */
|
||||
DIT_SSU, /* DOP_SIGNAL, */
|
||||
DIT_SSS, /* DOP_GET, */
|
||||
DIT_SSS, /* DOP_PUT, */
|
||||
DIT_SSU, /* DOP_GET_INDEX, */
|
||||
DIT_SSU, /* DOP_PUT_INDEX, */
|
||||
DIT_SS, /* DOP_LENGTH */
|
||||
DIT_0 /* DOP_DEBUG */
|
||||
DIT_SS /* DOP_LENGTH */
|
||||
};
|
||||
|
||||
/* Verify some bytecode */
|
||||
|
||||
Reference in New Issue
Block a user