Hi Philippe - yes, I think you're right. I've reported a possible race
condition on RedHat's pthread_exit
(https://bugzilla.redhat.com/show_bug.cgi?id=1596537).
Thanks.
--
Check out the vibrant tech community on one of
The program below creates two threads, in a detached state, and waits
for them to complete with 'pthread_exit'. Compile and run as:
> gcc -lpthread test.c
> valgrind --leak-check=full a.out
valgrind-3.13.0 (compiled from source) reports no errors on some runs,
and a possible leak on other runs