Hai,<br><br> Is it possible to share a single variable between multiple threads. For eg:<br><br>Class A:<br> thread_init()<br><br> def run():<br> fun1()<br><br>def fun():<br> ........ assume some arithmatic operation is going on according to the input given and each fun will <b>give different output</b><br>
.........<br><br>count = 10<br>while count:<br> call the class which will call the thread,<br> count--<br><br>now call list.join() <br><br>Now 10 Thread will be running and each thread will have there individual output.<br>
<br> Here is the problem now i want the sum of output of all the function. How can i do this ??? Can any one give me some idea. With example. Quite urgent help me please...<br><br>Thank's and Regard's,<br>R.Manikandan.<br>