4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-02 16:30:25 +08:00
Shell c451dce820 feat: add ISR safe completion API
Since the completion is used to sync with ISR mostly, we should set the
default semantic to ISR-safe. So most user will be happy and don't see
any weird behavior in their codes.

Changes:
- Added `rt_completion_wait_noisr` and
  `rt_completion_wait_flags_noisr` functions in `completion.h`,
  `completion_comm.c`, `completion_mp.c`, and `completion_up.c`.
- The new APIs allow waiting for completions in non-ISR contexts
  while ensuring thread context safety.
- Existing documentation and comments were updated to clarify
  usage contexts and emphasize restrictions on ISR usage.

Signed-off-by: Shell <smokewood@qq.com>
2024-08-19 10:39:15 +08:00
..
2024-08-09 12:54:10 +08:00
2024-08-19 10:39:15 +08:00
2024-08-19 10:39:15 +08:00
2024-07-04 00:34:01 +08:00
2024-03-29 21:48:31 +08:00
2024-07-24 23:17:38 +08:00
2024-07-12 20:31:31 +08:00
2013-01-08 22:40:58 +08:00