Skip to content

[HUST CSE][doxygen][src]Fix the comment in rt_thread_defunct_enqueue #7228

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

Merged
merged 7 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/finsh/msh_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ rt_bool_t msh_ishex(char *strvalue)
*
* @param strvalue string
*
* @return true or false
* @return integer transformed from string
*/
int msh_strtohex(char *strvalue)
{
Expand Down
2 changes: 2 additions & 0 deletions src/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ rt_err_t rt_thread_idle_delhook(void (*hook)(void))
/**
* @brief Enqueue a thread to defunct queue.
*
* @param thread the thread to be enqueued.
*
* @note It must be called between rt_hw_interrupt_disable and rt_hw_interrupt_enable
*/
void rt_thread_defunct_enqueue(rt_thread_t thread)
Expand Down
6 changes: 2 additions & 4 deletions src/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ struct rt_slab
/**
* @brief Alloc memory size by page.
*
* @param slab the slab memory management object.
* @param m the slab memory management object.
*
* @param npages the number of pages.
*/
Expand Down Expand Up @@ -243,7 +243,7 @@ void *rt_slab_page_alloc(rt_slab_t m, rt_size_t npages)
/**
* @brief Free memory by page.
*
* @param slab the slab memory management object.
* @param m the slab memory management object.
*
* @param addr is the head address of first page.
*
Expand Down Expand Up @@ -308,8 +308,6 @@ static void rt_slab_page_init(struct rt_slab *slab, void *addr, rt_size_t npages
/**
* @brief This function will init slab memory management algorithm
*
* @param slab the slab memory management object.
*
* @param name is the name of the slab memory management object.
*
* @param begin_addr the beginning address of system page.
Expand Down