Re:Use `nproc` and not grep /proc/cpuinfo
by moonchild on Thursday November 26, 2020 @08:01PM
(#25224715)
To be fair, having some way to spawn processes like there's no tomorrow is a good way to make sure there are no concurrency issues in your makefile.
I had a makefile with a race condition that triggered only sporadically. However, giving it more threads significantly increased its rate of occurrence.
I had a makefile with a race condition that triggered only sporadically. However, giving it more threads significantly increased its rate of occurrence.