https://issues.apache.org/bugzilla/show_bug.cgi?id=51919

--- Comment #5 from Sebb <[email protected]> 2011-10-01 10:35:46 UTC ---
(In reply to comment #3)
> Created attachment 27654 [details]
> Fix to issue
> 
> Hello Milamber,
> I changed my initial patch to use ReentrantLock.
> Regards
> Philippe

The CONTEXT_VARIABLES_LOCK needs to be applied to reads as well as writes.

A write lock only protects against lost updates, it does not guarantee
thread-safety.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to