On Wed, Jun 25, 2014 at 9:54 AM, Achim Gratz <strom...@nexgo.de> wrote: > Achim Gratz <Stromeko <at> NexGo.DE> writes: >> The following test seems to indicate that "sem --wait" does not actually >> wait for all started jobs to be finished. Is that expected? If yes, how >> should one properly wait in that situation? > > Actually, the semaphore doesn't appear to be working at all on Cygwin.
As I do not have access to a CygWin installation, can you test if this is a new bug? Did it work in previous versions? Or has it always been broken? > The result on Linux is this (which is much more in line with what I had > expected): And that is the correct output. > Is there some way to debug what's going on? --debug will give you loads of output. /Ole