HashMap and Threads
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ulises_Poirier
Posted On:   Thursday, March 31, 2005 11:28 AM



Hello:

Can I use an object HashMap in order to share OutputStream, which are associated to communication by socket, between threads?

Re: HashMap and Threads

Posted By:   Anonymous  
Posted On:   Wednesday, April 13, 2005 12:14 AM

For sharing the outputstream (read-only) hashmap won't create any pblm. If you need synchronisation better go for HashTable bcoz all it's operations are synchronised.

Re: HashMap and Threads

Posted By:   Eric_Hubbard  
Posted On:   Monday, April 11, 2005 01:29 PM

I have no idea what you are asking.

Re: HashMap and Threads

Posted By:   srini_vasan  
Posted On:   Thursday, April 7, 2005 02:49 AM

better is that you can go for Hashtable which has the thread suport
About | Sitemap | Contact