fix qos ndk comments

Signed-off-by: Ethan <liuchungang@hisilicon.com>
This commit is contained in:
Ethan 2024-05-28 12:20:48 +00:00 committed by Gitee
parent 284b5bf880
commit a3b623a5e2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -83,7 +83,8 @@ typedef enum QoS_Level {
* @brief Set the QoS level of the current thread.
*
* @param level Indicates the level to set. Specific level can be referenced {@link QoS_Level}.
* @return Returns int32_t, return value == 0, success, otherwise value == -1, failed.
* @return Returns 0 if the operation is successful; returns -1 if level is out of range or
internal error failed.
* @see QoS_Level
* @since 12
*/
@ -92,7 +93,8 @@ int OH_QoS_SetThreadQoS(QoS_Level level);
/**
* @brief Cancel the QoS level of the current thread.
*
* @return Returns int32_t, return value == 0, success, otherwise value == -1, failed.
* @return Returns 0 if the operation is successful; returns -1 if not set QoS for current thread
* or internal error failed.
* @see QoS_Level
* @since 12
*/
@ -103,7 +105,8 @@ int OH_QoS_ResetThreadQoS();
*
* @param level This parameter is the output parameter,
* and the QoS level of the thread as a {@link QoS_Level} is written to this variable.
* @return Returns int32_t, return value == 0, success, otherwise value == -1, failed.
* @return Returns 0 if the operation is successful; returns -1 if level is null, not
* set QoS for current thread or internal error failed.
* @see QoS_Level
* @since 12
*/