mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2025-02-12 03:51:58 +00:00
fix qos ndk comments
Signed-off-by: Ethan <liuchungang@hisilicon.com>
This commit is contained in:
parent
284b5bf880
commit
a3b623a5e2
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user