1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Kernel.git synced 2025-10-24 03:02:29 +08:00

Counting semaphore demo added.

This commit is contained in:
Richard Barry
2007-12-01 20:28:04 +00:00
parent a8eabeabbb
commit d69d2df8d6
11 changed files with 581 additions and 202 deletions

View File

@@ -116,6 +116,10 @@
#define configUSE_MUTEXES 0
#endif
#ifndef configUSE_COUNTING_SEMAPHORES
#define configUSE_COUNTING_SEMAPHORES 0
#endif
#if ( configUSE_MUTEXES == 1 )
/* xTaskGetCurrentTaskHandle is used by the priority inheritance mechanism
within the mutex implementation so must be available if mutexes are used. */