[Freeswitch-users] shared memory pools
Sergey Safarov
s.safarov at gmail.com
Tue Jan 17 16:10:00 MSK 2017
This questions for FS core developers.
I found that FreeSwitch apr libs have apr_pool_mutex_set that not exists in
APR master.
I found commit
<https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/ffb1cb4f690473af696fe1fe3879790fe49acecb>
where this function is introduced.
Purpose of this commit is resolve concurrency access from different threads
to same memory pool.
I asked
<http://mail-archives.apache.org/mod_mbox/apr-dev/201701.mbox/%3CCAHtxdDfDwmoACnYn04FTWWgtpK8giJjsgSgg5VvuSN%2Bph4G%3DBw%40mail.gmail.com%3E>
APR community why not used mutex and got responce from William A Rowe
<http://mail-archives.apache.org/mod_mbox/apr-dev/201701.mbox/%3CCACsi2539CFJusRo0wmReEEdrdG5ppJsJb-C9aD-g7K6tFos%2BOA%40mail.gmail.com%3E>
My questions
Does core team developers planning rewrite memory pool operation to remove
shared access to same pool from different threads? Create own pool for each
thread.
Sergey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170117/ba20bffe/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list