On 06/15/2010 05:07 PM, Kevin Fitch wrote:
> I have been converting an existing make based build system over to cmake,
> and overall I am loving it so far.
>
> I happened to run across CheckForPthreads.c, and was a little surprised to
> see that it was basically a classic example of racy code.
>
I have been converting an existing make based build system over to cmake,
and overall I am loving it so far.
I happened to run across CheckForPthreads.c, and was a little surprised to
see that it was basically a classic example of racy code.
The two spawned threads both increment res, which is th