On Mon, Sep 24, 2012 at 01:05:35PM -0400, Mike Frysinger wrote:
> On Monday 24 September 2012 06:25:35 Gregory M. Turner wrote:
> > On cygwin, there is a problem with bi-directional pipe support in bash.
> >
> > I used to solve this with an ugly reversion in portage and an
> > ultra-simple stubbification patch for multiprocessing.eclass (both
> > serialized everything).
> >
> > However, this really sucked for numerous reasons, including the obvious
> > one: it makes stuff slow as hell.
>
> if cygwin sucks, it doesn't get parallel jobs. add stubs to the end of the
> file to disable parallel support.
>
> if is_cygwin ; then
> numjobs() { return 1; }
> multijob_init() { return 0; }
> ...etc...
> fi
>
> interleaving the cygwin logic otherwise makes it unmaintainable
Seconded; if cygwin environment sucks for this, just suppress the
parallelization for it. Better to be working then not, plus I doubt
cygwin users are going to notice a huge diff in performance.
~harring