| |
Delete a mutex.
-
Description:
-
This API is used to delete a specified mutex. Return LOS_OK on deleting successfully, return specific error code otherwise.
-
注意:
-
- The specific mutex should be created firstly.
- The mutex can be deleted successfully only if no other tasks pend on it.
-
参数:
-
|
参数名称 |
描述 |
|
puwMuxHandle |
[IN] Handle of the mutex to be deleted. The value of handle should be in [0, LOSCFG_BASE_IPC_MUX_LIMIT - 1]. |
-
返回值:
-
-
Dependency:
-
- los_mux.h: the header file that contains the API declaration.
-
参见:
-
LOS_MuxCreate
-
自从:
-
Huawei LiteOS V100R001C00
|