diff options
author | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-06-29 17:09:33 +0000 |
---|---|---|
committer | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-06-29 17:09:33 +0000 |
commit | 6f70b8dcc7757028cc4d19ecaea71a53848dd0d0 (patch) | |
tree | 967bd636eb85f9eb482195696d62ba23ba4be9ec /memory | |
parent | 3764e2e6aec4da798312c862b95c106e3a07d933 (diff) | |
download | libapr-6f70b8dcc7757028cc4d19ecaea71a53848dd0d0.tar.gz |
Update apr_atomic_init documentation. PR: 42760.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@551962 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_pools.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index 461453f3f..eb3639c9d 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -556,6 +556,9 @@ APR_DECLARE(apr_status_t) apr_pool_initialize(void) /* This has to happen here because mutexes might be backed by * atomics. It used to be snug and safe in apr_initialize(). + * + * Warning: apr_atomic_init() must always be called, by any + * means possible, from apr_initialize(). */ if ((rv = apr_atomic_init(global_pool)) != APR_SUCCESS) { return rv; |