mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
Address David's latest feedback on reviewboard:
* Add a max_size option for threadpools. Also added a test for this option. * Fixed comments to be more accurate and have fewer typos. * Updated copyright dates on new files. git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@379375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -163,7 +163,9 @@ struct ast_taskprocessor *ast_taskprocessor_get(const char *name, enum ast_tps_o
|
||||
*
|
||||
* \since 12.0.0
|
||||
*
|
||||
* The listener's alloc() and start() callbacks will be called during this function.
|
||||
* Note that when a taskprocessor is created in this way, it does not create
|
||||
* any threads to execute the tasks. This job is left up to the listener.
|
||||
* The listener's start() callback will be called during this function.
|
||||
*
|
||||
* \param name The name of the taskprocessor to create
|
||||
* \param listener The listener for operations on this taskprocessor
|
||||
|
||||
Reference in New Issue
Block a user