Re: [VOTE] Merging 1.9-cache-improvements to /trunk
On Sat, May 16, 2015 at 7:45 PM, Ivan Zhakov <ivan_at_visualsvn.com> wrote:
> On 16 May 2015 at 07:48, Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
> > On Fri, May 15, 2015 at 7:25 PM, Philip Martin <
> > wrote:
> >> Another issue: find_entry() now calls drop_entry() in more cases and can
> >> now call it when find_empty==FALSE during read operations. On Unix when
> >> using the read-write lock this means the cache gets modified while only
> >> holding a read lock, not a write lock, and that can corrupt the cache.
> As far I understand find_entry(find_empty == TRUE) requires write-lock
> for cache, while only read-lock is required for find_empty == FALSE.
> Is correct? It would be nice to document this in docstring.
Done in r1679866.
Received on 2015-05-17 16:46:34 CEST
This is an archived mail posted to the Subversion Dev