jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: Elementary error : JCS code using double checked locking?
Date Sat, 25 Sep 2004 03:16:06 GMT
Yes, there is some old code using double check locking
in a couple places.  I've been meaning to fix it.  
A patch would be appreciated.

Thanks,

Aaron

--- Ben <ben@kappia.com> wrote:

> Guys
> 
> FYI, there's an embarassing error on your example
> documentation page
>
(http://jakarta.apache.org/turbine/jcs/UsingJCSBasicWeb.html)
> where the
> BookVObjManager getInstance() method attempts to
> save synchronization
> costs by using "double checked locking" (which of
> course is incorrect).
> 
> I hope I am wrong, but it looks like this mistake
> has been made in the
> JCS code itself too...
> 
> Ben
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> turbine-jcs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> turbine-jcs-dev-help@jakarta.apache.org
> 
> 


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


Mime
View raw message