maxb@tigris.org wrote:
> Author: maxb
> Date: Thu Jan 19 11:28:07 2006
> New Revision: 18170
>
> Modified:
> trunk/subversion/libsvn_fs_base/bdb/env.c
>
> Log:
> In the BDB environment cache, implement an enumerated type using small integers
> instead of self-referential pointers, thus allowing the use of apr_atomic_cas()
> instead of apr_atomic_casptr(), thus avoiding breaking GCC's strict-aliasing
> rules, and provoking warnings. Incidentally, it also avoids confusing humans,
> which the use of self-referential pointers merely as unique tokens is prone to
> do :-).
>
I'm glad you agree that the spinlock idea works. :)
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 20 02:27:35 2006