Task Management
Creates, deletes, delays, suspends, and resumes tasks; locks or unlocks task scheduling. High-priority tasks preempt resources from low-priority ones. Tasks with the same priority are scheduled in a round-robin way using time slices.
Memory Management
Hardware-related Functions
Provides the following functions:
Inter-process Communication (IPC)
Provides the following functions:
Message queue: creates, deletes, reads from, and writes into message queues.
Event: reads and writes events.
Semaphore: creates, deletes, applies for, and releases semaphores.
Mutex: creates, deletes, applies for, and releases mutexes.
Software Timer
Creates, deletes, starts, and stops timers.
Spin Lock
Initializes, applies for, and releases spin locks in SMP scenarios.
Low Power Consumption
Maintenance and Test
CPU usage: provides the CPU usage of the system or any specified task.
Tracing: obtains the context of events in real time and writes the context into the buffer. You can customize the trace buffer, including designating the modules to trace, starting or stopping tracing, and clearing or outputting data in the buffer.
Lite memory sanitizer (LMS): checks the validity of memory operations in real time. LMS can detect memory problems such as buffer overflow, use after free, double free, and wild pointer free.
Shell: receives users' commands through a serial port, and calls and executes applications through commands. Huawei LiteOS Shell supports basic debugging functions and allows users to add user-defined commands.
C++ Support
Huawei LiteOS supports some standard template library (STL) features, exceptions, and runtime type identification (RTTI) features. Other features are supported by the compiler.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。