diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-06 00:01:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-06 00:01:33 +0000 |
commit | fde57da35491525a755b64a635692fe013abfd90 (patch) | |
tree | 0bb543d0059bd1674edaea261b1722efaf5b6861 /libs/pbd/pool.cc | |
parent | c9fdcd934654594980bdc4c5421e2faffbb5e88f (diff) |
yet more debugging for thread pools
git-svn-id: svn://localhost/ardour2/branches/3.0@8451 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pool.cc')
-rw-r--r-- | libs/pbd/pool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc index e31728058e..c58f0d1071 100644 --- a/libs/pbd/pool.cc +++ b/libs/pbd/pool.cc @@ -246,9 +246,9 @@ void* CrossThreadPool::alloc () { void* ptr; - cerr << name() << " has " << pending.read_space() << " pending free entries waiting\n"; + cerr << pthread_self() << ' ' << 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"; + cerr << pthread_self() << ' ' << name() << " pushes back a pending free list entry before allocating\n"; free_list.write (&ptr, 1); } return Pool::alloc (); |