[svn-commits] mmichelson: branch mmichelson/threadpool r377352 - /team/mmichelson/threadpoo...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Dec 6 14:45:44 CST 2012
Author: mmichelson
Date: Thu Dec 6 14:45:42 2012
New Revision: 377352
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377352
Log:
It helps if we actually assign the listener to the pool.
Modified:
team/mmichelson/threadpool/main/threadpool.c
Modified: team/mmichelson/threadpool/main/threadpool.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/threadpool/main/threadpool.c?view=diff&rev=377352&r1=377351&r2=377352
==============================================================================
--- team/mmichelson/threadpool/main/threadpool.c (original)
+++ team/mmichelson/threadpool/main/threadpool.c Thu Dec 6 14:45:42 2012
@@ -623,6 +623,8 @@
pool = tps_listener->private_data;
pool->tps = tps;
+ ao2_ref(listener, +1);
+ pool->listener = listener;
ast_threadpool_set_size(pool, initial_size);
return pool;
}
More information about the svn-commits
mailing list