osQueueInit
System configuration items
UINT32
osQueueInit
(
void
)
: Queue init function.
Description:
This API is used to initialize Queue module.
注意:
:
None.
参数:
参数名称
描述
None.
返回值:
返回值
描述
LOS_ERRNO_QUEUE_MAXNUM_ZERO
0x02000600:The maximum number of queue resources is configured to 0.
LOS_ERRNO_QUEUE_NO_MEMORY
0x02000601:The queue block memory fails to be initialized.
LOS_OK
0:Queue initialization success.
Dependency:
los_config.h
: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00