| Author |
Question For Thread Guru's ..
|
Vipul
Ranch Hand
Joined: Apr 27, 2005
Posts: 38
|
|
If i dont know the number of objects i am going to handle before hand .What is the **best** way to sychronize my code ? . Scratch your Thread guru ..
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
|
Can you help us out with more description of what you want to do? I'm not sure how you need to synchronize on a bunch of objects. Thanks!
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
How's about taking a gander at the Java Tutorial on Threads. There's an explanation in there about synchronization. No guru needed.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Question For Thread Guru's ..
|
|
|