tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Darwin <>
Subject Re: Atomicity violation in setAttribute
Date Sun, 26 Sep 2010 17:25:46 GMT
>  In this case, both threads will
> continue running the function with ?replaced? bit turned on and the oldValue
> of both thread will point to the same location. This means that the value of
> the first thread that did the put operation will not be treated as a value
> that was replaced.
> Could you please let me know whether you consider this as a bug?

Is it any different than if two threads invoke the operation serially?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message