diff options
author | Jacek Antonelli | 2008-09-06 18:27:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:27:41 -0500 |
commit | d78e22887482056e9e29cccf2b7a8a675035d040 (patch) | |
tree | a0e0fde1b1a8f91d66c3eb84871b0a3c34947419 /linden/indra/llcommon/llapr.h | |
parent | Second Life viewer sources 1.21.0-RC (diff) | |
download | meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.zip meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.gz meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.bz2 meta-impy-d78e22887482056e9e29cccf2b7a8a675035d040.tar.xz |
Second Life viewer sources 1.21.1-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llapr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llapr.h b/linden/indra/llcommon/llapr.h index 323dcb2..1b91d37 100644 --- a/linden/indra/llcommon/llapr.h +++ b/linden/indra/llcommon/llapr.h | |||
@@ -60,6 +60,20 @@ void ll_init_apr(); | |||
60 | */ | 60 | */ |
61 | void ll_cleanup_apr(); | 61 | void ll_cleanup_apr(); |
62 | 62 | ||
63 | class LLAPRPool | ||
64 | { | ||
65 | public: | ||
66 | LLAPRPool(apr_pool_t *parent = NULL, apr_size_t size = 0) ; | ||
67 | ~LLAPRPool() ; | ||
68 | |||
69 | apr_pool_t* getAPRPool() {return mPool ; } | ||
70 | apr_status_t getStatus() {return mStatus ; } | ||
71 | |||
72 | private: | ||
73 | apr_pool_t* mPool ; | ||
74 | apr_status_t mStatus ; | ||
75 | } ; | ||
76 | |||
63 | /** | 77 | /** |
64 | * @class LLScopedLock | 78 | * @class LLScopedLock |
65 | * @brief Small class to help lock and unlock mutexes. | 79 | * @brief Small class to help lock and unlock mutexes. |