summaryrefslogtreecommitdiff
path: root/include/apr_thread_mutex.h
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2002-04-09 06:56:56 +0000
committerAaron Bannert <aaron@apache.org>2002-04-09 06:56:56 +0000
commitf83cddf29b5eb06a6ed877ed64b60269f9f1887e (patch)
tree7e9b75de87328965023c39fdb1e7e7abc9fff77f /include/apr_thread_mutex.h
parent79b8eb10833ce1f1c0f85069263018b1b75d9528 (diff)
downloadapr-f83cddf29b5eb06a6ed877ed64b60269f9f1887e.tar.gz
** DEPRECATE old lock API: apr_lock.h **
Resolve some circular includes (apr_thread_mutex.h needs apr_pools.h needs apr_allocator.h needs apr_thread_mutex.h ...). Remove all apr_lock.h related files (incl. arch-specific headers and implementations). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_thread_mutex.h')
-rw-r--r--include/apr_thread_mutex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/apr_thread_mutex.h b/include/apr_thread_mutex.h
index e7fdb1ba5..4e9381570 100644
--- a/include/apr_thread_mutex.h
+++ b/include/apr_thread_mutex.h
@@ -56,7 +56,6 @@
#define APR_THREAD_MUTEX_H
#include "apr.h"
-#include "apr_pools.h"
#include "apr_errno.h"
#ifdef __cplusplus
@@ -81,6 +80,9 @@ typedef struct apr_thread_mutex_t apr_thread_mutex_t;
#define APR_THREAD_MUTEX_DEFAULT 0x0
#define APR_THREAD_MUTEX_NESTED 0x1
+/* Delayed the include to avoid a circular reference */
+#include "apr_pools.h"
+
/**
* Create and initialize a mutex that can be used to synchronize threads.
* @param mutex the memory address where the newly created mutex will be