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, they will decrease it by using a random value; that another thread makes sure that value will not be zero. Can anyone give me an idea? Do I need to create 3 different thread classes<br>or just declare 7 threads under Thread? Thx in advance.