[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ra_svn and thread-safety/initialization

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-05-31 19:10:53 CEST

On Sat, 2003-05-31 at 13:16, rbb@rkbloom.net wrote:
> Why can't you use apr_thread_once? Just put the initialization steps in a
> function that is called through apr_thread_once, and you will be
> guaranteed that the function will be called one time and only one time.

It looks like I have an initialize an apr_thread_once_t with
apr_thread_once_init(). I can't do that each time svn_ra_svn_init() is
called, so where can I do it?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 31 19:11:45 2003

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.