B: retval = resume( fcv [, val] );
C: int resume(void *fcv [, int val] );
RESUME invokes the specified co-routine at the point it was last suspended. The caller (parent) attribute is inherited by the resumed routine so that if it does a DETACH, control will be passed to the same routine as if the current co-routine did a DETACH.
If the "val" parameter is specified for a co-routine that has not previously been invoked, the first argument will be set to "val". This will override the value of the first argument specified in the call to CREATE.
Copyright © 1996, Thinkage Ltd.