Hi,
I would like to ask a question regarding passing flags between a few threadings running in parallel.
For example, I have thread A, B, C and D running. Thread A is responsible for flagging a flag which causes a particular function in thread B, C and D to activate. So what I am interested to know is that a better way to pass flags between threads rather than declaring that flag as a global variable?
The execution of that function in thread B, C and D has to be simultanous.
Regards,
YB