On 02/14/2011 12:48 PM, Paul Gilmartin wrote:
> Does 'short' operate always on the currently selected input and
> output connectors? 

Yes.  And it's equivalent to ADDPIPE, not CALLPIPE.

> Do both report errors in RC identically? 

Well, yes and no.  SHORT or ADDPIPE returns 0 as long as the pipeline
was successfully added.  CALLPIPE returns the aggregated return code of
the added stages.  In the case of a short-through pipeline, there are no
stages, so that return code is still always 0 as long as the pipeline
was successfully run.  The "run" part is the difference.  A pipeline
might be added successfully, but then stall.  SHORT or ADDPIPE won't
know about the stall because it hasn't happened yet when they return.
CALLPIPE will return -4095 from the stall.

¬R

Reply via email to