[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module pipe-filter
From: |
Bruce Korb |
Subject: |
Re: new module pipe-filter |
Date: |
Sun, 19 Jul 2009 20:09:20 -0700 |
Hi Bruno, Eric, et al.,
Please have a look at GCC's fixincludes.
It needs (and uses) a chain of processes.
See gcc/fixincludes/server.[ch] and ../procopen.c
To solve problems I couldn't figure out, I had to fork() and exit()
the writer to the chain, or the intermediate processes would hang.
Even with closing all the pipes and sending down HUP ioctls.
Nothing I tried worked until the original pipe controlling process
actually exited. In any event, it ought not be much trouble to
fiddle the interface so you could give this pipe-filter process
an initial FD pair so you could chain a bunch of them together.
Thank you!!
Regards, Bruce
- Re: Help with create_pipe_bidi, Eric Blake, 2009/07/18
- new module pipe-filter, Bruno Haible, 2009/07/19
- Re: new module pipe-filter,
Bruce Korb <=
- Re: new module pipe-filter, Paolo Bonzini, 2009/07/21
- Re: new module pipe-filter, Bruno Haible, 2009/07/21
- Re: new module pipe-filter, Paolo Bonzini, 2009/07/21
- Re: new module pipe-filter, Paolo Bonzini, 2009/07/22
- Re: new module pipe-filter, Bruce Korb, 2009/07/31