From 47c1f09504fce4a8f980e8a407f40dbfaacc5a6b Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 26 Feb 2006 21:18:42 +0000 Subject: Added mutex protection for caching pool git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@232 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/pool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pjlib/include') 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; }; -- cgit v1.2.3