>One thing i found is the read operation is per 4 byte so, may be i think it is happening atomically. I defined i,j,k,l as "uint64_t". Then i got following o/p
>Creating 100 threads
>Wait for results
>Cleanup and show results
>
>Using 100 threads and LOOPCONSTANT = 1000
>Values are: (should be 100000)
> ==> | 100000, 0, 100000, 0 <------------------ Got the values changed but the same program but i am getting the same result on multiple executions of >the
> same program. Ideally these values of " i,j,k and l" should be dynamic due to lack of
automicity.... Not able to succeed complete race condition generation
>Main completed
------------------------------------