diff options
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 6c642bb8a8..5614edea4d 100644 --- a/src/thread.c +++ b/src/thread.c @@ -967,7 +967,8 @@ static void rt_thread_set_suspend_state(struct rt_thread *thread, int suspend_fl * thread is executing when you suspend it. If you suspend a thread while sharing a resouce with * other threads and occupying this resouce, starvation can occur very easily. * - * @param thread is the thread to be suspended. + * @param thread the thread to be suspended. + * @param suspend_flag status flag of the thread to be suspended. * * @return Return the operation status. If the return value is RT_EOK, the function is successfully executed. * If the return value is any other values, it means this operation failed. |
