mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
Relaxed contract of xTaskGetCurrentTaskHandle.
This commit is contained in:
parent
c9e61fce49
commit
e629319b9f
1 changed files with 0 additions and 2 deletions
2
tasks.c
2
tasks.c
|
|
@ -5404,11 +5404,9 @@ static void prvResetNextTaskUnblockTime( void )
|
|||
|
||||
TaskHandle_t xTaskGetCurrentTaskHandle( void )
|
||||
/*@ requires interruptState_p(coreID_f(), ?state) &*&
|
||||
interruptsDisabled_f(state) == true &*&
|
||||
pointer(&pxCurrentTCBs[coreID_f], ?taskHandle);
|
||||
@*/
|
||||
/*@ ensures interruptState_p(coreID_f(), state) &*&
|
||||
interruptsDisabled_f(state) == true &*&
|
||||
pointer(&pxCurrentTCBs[coreID_f], taskHandle) &*&
|
||||
result == taskHandle;
|
||||
@*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue