-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Add Comments] components:libc:cplusplus:os/utest:Some comments have been initially … #10870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
f585842
bfe680c
5de6ed9
e5875df
eb1d86a
41c5aa0
5983ccb
0d6b97c
504ee76
5fd24f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,6 +11,13 @@ | |||||||||||||||||
|
|
||||||||||||||||||
| using namespace rtthread; | ||||||||||||||||||
|
|
||||||||||||||||||
| /** | ||||||||||||||||||
| * @brief Thread class constructor with parameters for stack size, priority, tick, and name. | ||||||||||||||||||
|
||||||||||||||||||
| * @brief Thread class constructor with parameters for stack size, priority, tick, and name. | |
| * @brief Thread class constructor with parameters for stack size, priority, tick, and name. | |
| * @param stack_size Stack size in bytes | |
| * @param priority Thread priority | |
| * @param tick Time slice in ticks | |
| * @param name Thread name |
Copilot
AI
Nov 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Incomplete Doxygen Comment / 不完整的 Doxygen 注释
English: The Doxygen comment should document all parameters. Add @param tags for entry, p, stack_size, priority, tick, and name parameters.
中文:Doxygen 注释应记录所有参数。为 entry、p、stack_size、priority、tick 和 name 参数添加 @param 标签。
| * @brief Thread class constructor with entry function and parameters. | |
| * @brief Thread class constructor with entry function and parameters. | |
| * @param entry The entry function pointer for the thread. | |
| * @param p The parameter to pass to the entry function. | |
| * @param stack_size The size of the thread stack in bytes. | |
| * @param priority The priority of the thread. | |
| * @param tick The time slice (tick) for the thread. | |
| * @param name The name of the thread. |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -35,21 +35,34 @@ static void test_shared_ptr(void) | |||||||
| uassert_int_equal(p1.use_count(), 2); | ||||||||
| } | ||||||||
|
|
||||||||
| /** | ||||||||
| * @brief Test case initialization function. | ||||||||
|
||||||||
| * @brief Test case initialization function. | |
| * @brief Test case initialization function. | |
| * @return RT_EOK on success |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Doxygen Tag / 缺少 Doxygen 标签
English: This comment is missing the
@brieftag. Add it for consistency with other function documentation.中文:此注释缺少
@brief标签。为了与其他函数文档保持一致,请添加它。Suggested format / 建议格式: