Sha256: 92d743338286a8816efca3661383a46165c8f93b1301ffd9ed23727a645268a4
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
(* Schedule process +input.called+ with +input.input+, and resume back to currently running process +step+ to pc of +self+ ProcDef. Creates a record with +ret_ctx+ property, which calling process can use to restore its context, adds call step and resume step to +steps+ sequence. *) procedure schedule_process_proc( input ) { schedule_process_start: schedule_process_mac( input.called, input.input, step, [ ret_ctx |-> [ stack[self][2] EXCEPT !.pc = stack[self][1].pc ] ] ); return; }
Version data entries
4 entries across 4 versions & 1 rubygems