It looks like macOS doesn't have pthread barriers (via cfbot 2021, now with more operating systems):Indeed:-( I'll look into that.Just for fun, the attached 0002 patch is a quick prototype of a replacement for that stuff that seems to work OK on a Mac here. (I'm not sure if the Windows part makes sense or works.)
Thanks! That will definitely help because I do not have a Mac. I'll do some cleanup.
-- Fabien.