-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Background
OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.
ThreadPool is a simple cplusplus implementation of a thread pool. In order to enable ThreadPool to support the OpenHarmony system, we have modified some of the code of ThreadPool. We plan to submit the modified code to the ThreadPool community. The purpose of creating this Issue is to initiate discussions with the community. We sincerely welcome you to put forward your valuable suggestions.
Adaptation Proposal
We have completed the adaptation of ThreadPool on OpenHarmony. The specific content is as follows:
- The construction/packaging of ThreadPool was realized based on the OpenHarmony environment and development tools.
- Provide sample examples of using ThreadPool in OpenHarmony application development.
We'll submit the adaptation code through a Pull Request (PR) promptly.
Testing Results
Based on the OpenHarmony system, we conducted unit tests on ThreadPool using the original library test cases and passed the tests in the following versions:
DevEco Studio 5.0.3 Release-5.0.9.221, SDK: API15(OpenHarmony 5.0.3.135)
DevEco Studio 5.0.4 Beta1-5.0.9.320, SDK: API16 (OpenHarmony 5.0.4.150)
DevEco Studio 5.0.3 Release-5.0.9.300, SDK: API15(OH_SDK 5.0.3.135(SP1))
DevEco Studio 5.0.4 Beta1 5.0.9.320, SDK: API16(OH SDK 5.0.4.150)
If necessary, we can provide detailed test reports at any time.
Labels
enhancement, compatibility, cross-platform