diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-26 21:18:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-26 21:18:42 +0000 |
commit | 47c1f09504fce4a8f980e8a407f40dbfaacc5a6b (patch) | |
tree | 470e12f1f956b2eb08cbd10cc6ba084d61961a34 /pjlib/include/pj/pool.h | |
parent | 9cb2e01ffb6e99bd29a09040064a74ee35714ab6 (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/pj/pool.h')
-rw-r--r-- | pjlib/include/pj/pool.h | 10 |
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; }; |