mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user