I am a newbie, and I have a question about multithreading: <br>if I need several threads, i.e.: 7 threads, they all share<br>an int value. Three of them will check if this value is less<br>than 0, if so, increase it by adding a ramdom value; other threee will check if it is bigger than 0, if so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.