_CRET - return from co-routine group.
val = _cret( [retval] );
- is the value returned to the caller (parent) co-routine.
- is a value passed to this co-routine the next time it is
invoked. Note that between the time the "_cret"
is executed and the time that "val" is returned
in the assignment, the parent co-routine is in execution.
Thus "val" is not obtained until the parent
resumes this co-routine (either with "_resume"
"_cret" returns from a group of co-routines to the
routine that used "_ccall" to call a member of the
co-routine group. If "retval" is specified, it will be
returned as the value of the "_ccall" function in the
expl nsc coro
expl nsc lib _coro
expl nsc lib _ccall
expl nsc lib _resume
expl nsc lib _cdel
Copyright © 1996, Thinkage Ltd.