rt-thread/components/libc/posix/libdl
Shell 2c9b7c10b9
[kernel] add rt_thread_close()
* [thread] Add rt_thread_close()

This patch introduces a new function `rt_thread_close()` to enhances the
usability and maintainability by providing a dedicated mechanism for
closing threads.

- A new function `rt_thread_close()` is added to the API, providing a
  standardized approach for closing threads.
- The `rt_thread_close()` function removes a thread from the thread
  queue, updates its status to indicate closure, and performs the thread
  timer detaching which is a embedded timer in thread object.
- Additionally, the `rt_thread_detach()` function is modified to utilize
  `rt_thread_close()` internally, streamlining the thread detachment
  process.

Signed-off-by: Shell <smokewood@qq.com>
2024-05-01 00:49:09 -04:00
..
arch [debug] remove RT_DEBUG_xxx 2023-07-09 00:19:29 -04:00
SConscript [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
dlclose.c [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlelf.c [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlelf.h [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlerror.c [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlfcn.h [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlmodule.c [kernel] add rt_thread_close() 2024-05-01 00:49:09 -04:00
dlmodule.h [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlopen.c [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlsym.c [libdl] move libdl to posix folder (#5523) 2022-01-20 20:55:31 +08:00
dlsyms.c [posix][io]整理posix/io文件夹 (#5539) 2022-01-24 09:16:57 +08:00