未验证 提交 d8fe29e3 编写于 作者: O openharmony_ci 提交者: Gitee

!9491 Update the introduction of commonlibrary(which was called utils before)

Merge pull request !9491 from JokerXD_liu/utils
# utils<a name="EN-US_TOPIC_0000001092539399"></a>
# commonlibrary<a name="EN-US_TOPIC_0000001092539399"></a>
## Introduction<a name="section11660541593"></a>
The **utils** repository provides common enhanced APIs for development in C and C++.
The **commonlibrary** subsystem provides common enhanced APIs for development in C, C++ and JS.
**C++**
**c_utils**
- Enhanced APIs for operations related to files, paths, and strings
- APIs related to the read-write lock, semaphore, timer, thread, and thread pool
......@@ -13,7 +13,14 @@ The **utils** repository provides common enhanced APIs for development in C and
- Error codes for each subsystem
- Safe functions in C
**C**
**ets_utils**
- JSAPIs for operation of URI, URL and xml
- JSAPIs for character encoder and decoder
- JSAPIs for operation of process
- Multithreading ability in JS
**utils_lite**
- Hardware Abstraction Layer (HAL) APIs for performing operations on standard files
- APIs for internal functions, such as the timer
......@@ -21,17 +28,18 @@ The **utils** repository provides common enhanced APIs for development in C and
## Directory Structure<a name="section17271017133915"></a>
```
/utils
├── native # Utility class implementation at the native layer
└── system # System-related predefined values and security policy configuration
/commonlibrary
├── c_utils # Enhanced basic C/C++ library for developers
├── ets_utils # Enhanced basic JS library for developers
└── utils_lite # Basic tools for liteOS, including C and JS.
```
## Repositories Involved<a name="section1249817110914"></a>
**utils subsystem**
**commonlibrary subsystem**
[utils](https://gitee.com/openharmony/utils)
[commonlibrary\_c\_utils](https://gitee.com/openharmony/commonlibrary_c_utils)
[utils\_native](https://gitee.com/openharmony/utils_native)
[commonlibrary\_ets\_utils](https://gitee.com/openharmony/commonlibrary_ets_utils)
[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite)
[commonlibrary\_utils\_lite](https://gitee.com/openharmony/commonlibrary_utils_lite)
......@@ -6,17 +6,23 @@
## 简介<a name="section11660541593"></a>
公共基础类库提供了一些常用的C、C++开发增强API。包括如下部分:
公共基础类库提供了一些常用的C、C++、JS开发增强API。包括如下部分:
**C++部分:**
**c_utils**
- 文件、路径、字符串相关操作的能力增强接口;
- 读写锁、信号量、定时器、线程增强及线程池等接口;
- 安全数据容器、数据序列化等接口;
- 各子系统的错误码相关定义;
- C语言安全函数接口。
**C部分:**
**ets_utils**
- JS中URI、URL、xml相关操作接口;
- JS中字符编解码接口;
- JS中进程相关操作接口;
- JS中多线程能力;
**utils_lite**
- 标准文件相关操作HAL接口;
- 其它一些内部功能,如定时器等。
......@@ -24,18 +30,19 @@
## 目录<a name="section17271017133915"></a>
```
/utils
├── native # 工具类的native层实现
└── system # 系统相关的预定义值和安全策略配
/commonlibrary
├── c_utils # c/c++标准库之外方便开发者开发的基础工具库
├── ets_utils # js标准库之外的与语言强相关的基础库
└── utils_lite # lite上使用的工具函数,涉及c和js语言
```
## 相关仓<a name="section1249817110914"></a>
**公共基础库子系统**
[utils](https://gitee.com/openharmony/utils)
[utils\_native](https://gitee.com/openharmony/utils_native)
[commonlibrary\_c\_utils](https://gitee.com/openharmony/commonlibrary_c_utils)
[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite)
[commonlibrary\_ets\_utils](https://gitee.com/openharmony/commonlibrary_ets_utils)
[commonlibrary\_utils\_lite](https://gitee.com/openharmony/commonlibrary_utils_lite)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册