summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-06-19 16:21:07 +0000
committerGordon Sim <gsim@apache.org>2007-06-19 16:21:07 +0000
commitcc4ba844fc612a010afed07347a7e0f75aaaa14c (patch)
treed01bcddcf4879e85bd65cb5d4e1fc33d7b5d5247 /cpp/src
parente9bbdbf7d622fd97a91b06b04ae2e8f33ce94ba4 (diff)
downloadqpid-python-cc4ba844fc612a010afed07347a7e0f75aaaa14c.tar.gz
Blocked revisions 540511 via svnmerge
........ r540511 | gsim | 2007-05-22 10:50:45 +0100 (Tue, 22 May 2007) | 11 lines Patch submitted to qpid-dev by ksmith@redhat.com. Fixes concurrency issues arising from previous move to use singleton apr pool. "My patch does three things: 1) Modifies the APRPool class to use alloc/free semantics for APR memory pools. Each time a caller calls APRPool::get() they'll their own pool reference. I've fixed up all the call sites I can find to also call APRPool::free() at the appropriate time. 2) Caches freed APR memory pools in a STL stack. This cuts down on the number of memory pools created overall. 3) As a result of doing #1 and #2 I've introduced a guard mutex around APRPool::get() and APRPool::free(). This is to prevent concurrent access to the memory pool cache. If it's too heavyweight, the mutex along with the caching mechanism could be removed entirely." ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@548786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
0 files changed, 0 insertions, 0 deletions