In "Multithreaded Programming with PThreads" and "Multithreaded
Programming with Java," I reviewed the use of a pipeline for the
purpose of allowing parallel processing and concluded that there
wasn't a lot of value in it. It's easier to write a straightforward
program that simply distributes chunks of data for processing to
multiple threads.
I stand by my reasoning for the situations I described, but have
subsequently encountered different situations that merit independent
analysis.
September 01, 2010
URL:http://www.drdobbs.com/jvm/the-pipeline/228700668
Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.