@@ -2278,6 +2278,7 @@ Remove the thread function from the active thread list. If the thread is current
- \em osErrorISR: \ref osThreadTerminate cannot be called from interrupt service routines.
\note Cannot be called from \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routines".
+\note Avoid calling the function with a \em thread_id that does not exist or has been terminated already.
<b>Code Example</b>
\code{.c}
@@ -532,6 +532,7 @@ Possible \ref osStatus_t return values:
- \em osErrorISR: the function \b osThreadTerminate cannot be called from interrupt service routines.
\note This function \b cannot be called from \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routines".
\code