This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: add 'pex_write_input' to libiberty pipeline library
DJ Delorie <dj@redhat.com> writes:
> I suppose we could poison PEX_CONCURRENT for gcc, too. Ok, post a
> patch with sufficent warning messages and such, for review.
Okay. I may not be able to get to that immediately, but I'll have it
within the month.
> /me wonders if a new API that does nothing but open a bidirectional
> pipe to a concurrent program would be useful? If it did nothing else,
> it would discourage its use elsewhere, and programs like gcc could
> define a local version that just fails, to stop people from using it
> there.
Well, again, we'd really like to share code with pex-win32.c. We
don't really need a pipeline, so a completely separate
pex_run_concurrent function that just used the existing 'funcs' vtable
would probably be okay. But it seems a shame to segregate it from the
rest of the pipeline construction; it all works.