Multithreaded file IO?

Jerry Quinn jlquinn at optonline.net
Sat Sep 24 23:28:52 PDT 2011


Lutger Blijdestijn Wrote:

> If you didn't know, the concurrency chapter of tdpl is a free chapter: 
> http://www.informit.com/articles/article.aspx?p=1609144
> 
> It has an example of file copying with message passing: 
> http://www.informit.com/articles/article.aspx?p=1609144&seqNum=7

What I really want is a shared fifo where the input is lines from a file, and many workers grab something from the fifo.  They then push their results into a shared reordering output queue.


More information about the Digitalmars-d-learn mailing list