summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-02-26 21:18:42 +0000
committerBenny Prijono <bennylp@teluu.com>2006-02-26 21:18:42 +0000
commit47c1f09504fce4a8f980e8a407f40dbfaacc5a6b (patch)
tree470e12f1f956b2eb08cbd10cc6ba084d61961a34 /pjlib/include
parent9cb2e01ffb6e99bd29a09040064a74ee35714ab6 (diff)
Added mutex protection for caching pool
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@232 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/pool.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pjlib/include/pj/pool.h b/pjlib/include/pj/pool.h
index 93d67a90..885b275e 100644
--- a/pjlib/include/pj/pool.h
+++ b/pjlib/include/pj/pool.h
@@ -542,6 +542,16 @@ struct pj_caching_pool
* List of pools currently allocated by applications.
*/
pj_list used_list;
+
+ /**
+ * Internal pool.
+ */
+ pj_pool_t *pool;
+
+ /**
+ * Mutex.
+ */
+ pj_mutex_t *mutex;
};