]> git.sur5r.net Git - freertos/commit - FreeRTOS/Demo/Common/Minimal/countsem.c
Kernel changes:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Jan 2016 15:52:44 +0000 (15:52 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Jan 2016 15:52:44 +0000 (15:52 +0000)
commitd7eda24f8123e84f65c3fdfc7898c9d89da73e40
tree74a05e320af64a14006b6832b636fd68a42c8dc8
parent4f1513daa7bb2edfa5a262a663fcd2b8270e41bb
Kernel changes:

Minor change to xQueueGenericReceive() to catch the extreme case of data being placed into a queue between a task timing out and leaving the xQueueGenericReceive() function.
Added xSemaphoreGetCount() macro.

Demo app changes:
Updated countsem.c to test the new xSemaphoreGetCount() macro.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2401 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
FreeRTOS/Demo/Common/Minimal/countsem.c
FreeRTOS/Source/include/FreeRTOS.h
FreeRTOS/Source/include/semphr.h
FreeRTOS/Source/queue.c
FreeRTOS/Source/tasks.c