On Mon, Mar 12, 2018 at 12:36:05PM +0100, Cyril Bonté wrote: > I confirm I can reproduce the issue once 32 (and more) threads are used : the > main process enters an endless loop. > I think the same issue may occur with nbproc on FreeBSD (the same code in an > #ifdef ____FreeBSD__). > > Can you try the patch attached ? I'll send a clean one later.
Ah good catch, I'm pretty sure you nailed it down indeed! The fun thing is that the initial purpose of that patch was precisely to avoid this kind of annoying stuff in the first place! Cheers, Willy

