Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filters: 6 vs 7 Arguments



Tobias Peciva wrote:
> ...
Which leads to a follow-up question: Is it guaranteed that the
filters and the backend will all be launched at the same time? This
seems like a requirement for connecting up all the streams; and debug
logging indicates that this is indeed the case.

Yes, the filters are executed from first to last, with each
filter sending its output to the next filter's (or backend's)
standard input. The backend is started last in order to receive
the print data from the upstream filters.

Specifically, I want to know for sure that my custom backend will
always be launched at roughly the same time as the first filter; even
if it's a huge job that might take minutes to make it through the
filter chain.

The only delay will be the time to fork() and exec() the filter
processes, which typically will be within a few milliseconds.

--
______________________________________________________________________
Michael Sweet, Easy Software Products email@hidden
Printing Software for UNIX http://www.easysw.com
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Filters: 6 vs 7 Arguments (From: Tobias Peciva <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.