dcsimg
Sending a value from one thread to another
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tr_udhu
Posted On:   Wednesday, March 14, 2007 10:07 AM

hii there,



Iam using multiple threads and I have initialized a variable in one thread and now i need to send that value to all the other threads.Neither the sending thread nor any of the other threads are near completion.When i send this value i want the other threads to first store this variable's value and then continue with their work.
How can i achieve this?Suggest a code snippet.

Re: Sending a value from one thread to another

Posted By:   Edward_Harned  
Posted On:   Wednesday, March 14, 2007 11:43 AM

When you cross post questions, the people here don't know that the question was already answered.


http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=27&t=002413

About | Sitemap | Contact