| title: | Re Not able to generate race condition pl |
|
Hi Seshi, I suppose race is generated with LOOPCONSTANT = 100000, Actually for race on the variables the threads need to be scheduled in the middle of updating the variables. So you should do some minimum work in the thread function so other threads get chance to run.
Thanks,Mukti |