Hello,
I have multi thread program running together and each will increment
int i.
How can we make only one thread at a time be able to access and
increment i ?
Thanks in advance,
Sincerely Yours,
pujo
I have multi thread program running together and each will increment
int i.
How can we make only one thread at a time be able to access and
increment i ?
Thanks in advance,
Sincerely Yours,
pujo
Comment