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 23:20:38 GMT
Remy Maucherat wrote:
> Mark Thomas wrote:
> 
>> 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.
> 
> 
> Not in the 5.0.x build he's using.

Indeed. But do we need to sync the reads in 5.5.x as well or is it 
enough just to do the writes? I am confused as you said concurrent 
reads were the issue but syncing the writes would fix it.

Sorry if I am being dense here ;)

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