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
Yo
On Thu, 2018-06-28 at 14:50 +0100, EML wrote:
> 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) rep
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