Is a 'variable' in the run() method of a Threaded class is sharable?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sabu_vs
Posted On:   Friday, November 12, 2004 01:39 AM

Hi


If the run() method of the threaded class contains variable, will all the the threads shares the same variable or use different copies of the variable?

			

thanks

sabu

Re: Is a 'variable' in the run() method of a Threaded class is sharable?

Posted By:   manu_kaushal  
Posted On:   Tuesday, November 16, 2004 02:24 AM

Each thread will have it's own copy of variable.
About | Sitemap | Contact