tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: DO NOT REPLY [Bug 36541] - session getAttribute/setAttribute and removeAttribute are NOT Thread safe.
Date Wed, 07 Sep 2005 22:53:26 GMT
Remy Maucherat wrote:
> Synchronizing the writes will also fix problems, since I think the 
> underlying structure of the hashmap went bad due to a concurrency of 
> reads. Try it before whining. Thanks.

Just a quick clarification. Did you mean to write "...Synchronizing 
the *reads* will also fix problems..."?

If concurrent reads is the problem, then don't the reads need to be 
synchronised? I thought from one of your earlier posts that the writes 
were already synchronised.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message