13
0

more debugging for thread pools

git-svn-id: svn://localhost/ardour2/branches/3.0@8450 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-01-05 22:17:06 +00:00
parent 12a3e9b879
commit c9fdcd9346

View File

@ -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);