Merge "taskprocessor: Enable subsystems and overload by subsystem"

This commit is contained in:
Joshua C. Colp
2019-02-26 07:04:15 -06:00
committed by Gerrit Code Review
13 changed files with 523 additions and 10 deletions

View File

@@ -341,6 +341,19 @@ long ast_taskprocessor_size(struct ast_taskprocessor *tps);
*/
unsigned int ast_taskprocessor_alert_get(void);
/*!
* \brief Get the current taskprocessor high water alert count by sybsystem.
* \since 13.26.0
* \since 16.3.0
*
* \param subsystem The subsystem name
*
* \retval 0 if no taskprocessors are in high water alert.
* \retval non-zero if some task processors are in high water alert.
*/
unsigned int ast_taskprocessor_get_subsystem_alert(const char *subsystem);
/*!
* \brief Set the high and low alert water marks of the given taskprocessor queue.
* \since 13.10.0