Using fork join_none to span threads in a for loop in parallel, which is executed in forever loop

In reply to juhi_p:

Hi Juhi,
Thanks for trying out an example. I tried this too. But it does not work everytime a value is changed. Can you explain how your example logic works everytime you change value of abc?
Regards,
Varsha