diff options
author | Mark Michelson <mmichelson@digium.com> | 2012-12-04 21:21:15 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2012-12-04 21:21:15 +0000 |
commit | c16371fab6ef46aee679829565e6b387b86b5683 (patch) | |
tree | 65b905286202fe123e2a484c4274de866ab0c782 /formats/format_g723.c | |
parent | a37fb2e8c89332f4cd9facf1884d982813614f0c (diff) |
Simplify threadpool refcounting a bit.
Since threadpool shutdown is very strictly controlled,
there is no need to be so precise with reference counts
in queued operations. Since the threadpool shuts down its
own control taskprocessor before doing anything else destructive,
it can be guaranteed that all queued tasks will have a valid
pointer to the pool. This meant that some destructor functions
for helper structs could be removed entirely.
git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@377210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_g723.c')
0 files changed, 0 insertions, 0 deletions