mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merge "taskprocessor: Enable subsystems and overload by subsystem"
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user