]> begriffs open source - freertos/commit
Preparing for new release...
authorRichard Barry <ribarry@amazon.com>
Sat, 1 Aug 2015 07:03:32 +0000 (07:03 +0000)
committerRichard Barry <ribarry@amazon.com>
Sat, 1 Aug 2015 07:03:32 +0000 (07:03 +0000)
commit4c3722bd766603dad512c500cb984b74571a0c98
tree0d06fb5adeeddfb46047eda78ffe53987a06c71f
parent25b911e0bdaa2a90762e482c18aec40068f2555d
Preparing for new release...

Kernel changes:
- Remove an assert that was preventing xQueueSendFromISR() being used to give a mutex from an ISR (mutexes cannot be given using xSemaphoreGiveFromISR()).
- Introduce xTaskNotifyAndQueryFromISR() as the interrupt safe version of xTaskNotifyAndQuery().

Common demo task changes:
- Update IntSemTest.c to prove the theory that it is safe to give a mutex type semaphore from an interrupt using xQueueSendFromISR() instead of xSemaphoreGiveFromISR().
- Update TaskNotify.c to test the new xTaskNotifyAndQuery() from ISR fuction.
FreeRTOS/Demo/Common/Minimal/IntSemTest.c
FreeRTOS/Demo/Common/Minimal/TaskNotify.c
FreeRTOS/Demo/WIN32-MSVC/main.c
FreeRTOS/Source/include/task.h
FreeRTOS/Source/queue.c
FreeRTOS/Source/tasks.c