[Patch] Make neon initialization thread safe
From: Bert Huijben <B.Huijben_at_competence.biz>
Date: Fri, 15 Aug 2008 16:11:52 +0200
Hi,
Some users think SharpSvn is a nice api to make parallel requests to
This patch fixes a race condition if two neon requests are started
[[
* subversion/libsvn_ra_neon.c
(initialize_neon): Initialize neon in an atomic context
(ensure_neon_initialized): Wrapper for calling initialize_neon via
(svn_ra_neon__open): Call ensure_neon_initialized instead of
Patch by: Bert Huijben <b.huijben_at_competence.biz>
ne_sock_init() is defined as:
/* Perform process-global initialization of any libraries in use.
(So we don't have to call it on every session)
The serf library has a similar race condition; but that is completely in
Thanks,
Bert
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.