diff options
author | Mark Michelson <mmichelson@digium.com> | 2012-12-04 22:11:31 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2012-12-04 22:11:31 +0000 |
commit | 2158005bdb7e4822497ae1ccd50adc1da9a3410b (patch) | |
tree | 34806593f580a8fbb46ab1ab258ba8a95a01df71 /include | |
parent | c16371fab6ef46aee679829565e6b387b86b5683 (diff) |
Remove zombie state from threadpool altogether.
After giving it some consideration, there's no real
use for zombie threads. Listeners can't really use the
current number of zombie threads as a way of gauging activity,
zombifying threads is just an extra step before they die that
really serves no purpose, and since there's no way to re-animate
zombies, the operation does not need to be around.
I also fixed up some miscellaneous compilation errors that
were lingering from some past revisions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@377211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/threadpool.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asterisk/threadpool.h b/include/asterisk/threadpool.h index 8ff218492..98ee8cf47 100644 --- a/include/asterisk/threadpool.h +++ b/include/asterisk/threadpool.h @@ -31,12 +31,10 @@ struct ast_threadpool_listener_callbacks { * \param listener The threadpool listener * \param active_threads The number of active threads in the pool * \param idle_threads The number of idle threads in the pool - * \param zombie_threads The number of zombie threads in the pool */ void (*state_changed)(struct ast_threadpool_listener *listener, int active_threads, - int idle_threads, - int zombie_threads); + int idle_threads); /*! * \brief Indicates that a task was pushed to the threadpool's taskprocessor * |