summaryrefslogtreecommitdiff
path: root/libs/pbd/pool.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-01-05 22:17:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-01-05 22:17:06 +0000
commitc9fdcd934654594980bdc4c5421e2faffbb5e88f (patch)
tree0a58729ddc551471e34a6a06572ab63f401d4b9f /libs/pbd/pool.cc
parent12a3e9b879270e1411d0827c58f55d9becba326f (diff)
more debugging for thread pools
git-svn-id: svn://localhost/ardour2/branches/3.0@8450 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pool.cc')
-rw-r--r--libs/pbd/pool.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc
index bbe57b7ee2..e31728058e 100644
--- a/libs/pbd/pool.cc
+++ b/libs/pbd/pool.cc
@@ -246,6 +246,7 @@ void*
CrossThreadPool::alloc ()
{
void* ptr;
+ cerr << name() << " has " << pending.read_space() << " pending free entries waiting\n";
while (pending.read (&ptr, 1) == 1) {
cerr << name() << " pushes back a pending free list entry before allocating\n";
free_list.write (&ptr, 1);