View Single Post
  #2 (permalink)  
Old 04-23-2008, 07:30 PM
danielstoner's Avatar
danielstoner danielstoner is offline
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 183
danielstoner is on a distinguished road
Lots of typos in the code, that code won't compile! Why is the variable supposed to be protected by the synchronization public and static. How is each thread initialized with the instance of the synchronized object? Synchronization works, don't worry about that. You have bugs in the code. Post the whole working code and we might help.
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Reply With Quote