On Wed, 28 Aug 2013, Michael Matz wrote: > Hi, > > On Wed, 21 Aug 2013, Richard Biener wrote: > > > I also fail to see why threads should not work here. Maybe simply > > annotate gcc with openmp? > > Threads simply don't work here, because the whole streamer infrastructure > (or anything else in GCC for that matter) isn't thread safe (you'd have to > have multiple streamer objects, multiple SCC finder objects, and you'd > have to audit everything for not using any other shared resources).
Hm, yeah, of course. > Fork-fire-forget is really a much simpler choice here IMO; no worries > about shared resources, less debug hassle. It might be not as cheap as it is on Linux hosts on other hosts of course. Also I'd rather try to avoid I/O than solving the issue by parallelizing it. Of course we can always come back to this kind of hack later. Richard.