apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject apr_xlate not thread safe
Date Fri, 08 Nov 2002 03:46:36 GMT
Bringing this up here for obvious reasons...


"Attempting to use mod_dav_svn with Apache's worker MPM has revealed
 that the UTF8 conversions are not thread safe.
 The conclusion is that Subversion stores an apr_xlate_t object in the
 global pool (well two really, one from UTF8 the other to UTF8) that
 gets shared by all the threads. The apr_xlate_t object itself stores a
 pool, so this pool is then shared by all the threads. Pools are not
 meant to be shared by threads without locking, so this doesn't work."


View raw message