On 04/01/17 10:54, Bruno Haible wrote: > Hi Pavel, > >> Can we assume all systems supporting pthreads are conforming to this >> specs? That was pretty big (and pretty recent) change of specification. > > The change in the specification [4] mentions that the issue arose with glibc, > and it points to two tests from the Linux test project [5][6]. Can you run > these tests on your Koji system? It would be interesting to see if they > fail or hang as well.
Now that test-lock.c is relatively fast on numa/multicore systems, it seems like it would be useful to first alarm(30) or something to protect against infinite hangs? cheers, Pádraig