Mutexes/Semaphores/

Mutexes/Semaphore page shows an overview of mutexes and semaphores in the kernel. Following figure shows the screen shot of the screen. In order to see mutexes and semaphores, user has to set configQUEUE_REGISTRY_SIZE in FreeRTOS.h and add the mutexes and semaphores to the queue registry by calling vQueueAddToRegistry.



The description of mutex parameters shown in GUI is given below.

  1. 1.

    MutexName : Friendly name that identifies the mutex

  2. 2.

    MutexHolder : Current owner of the mutex if acquired

  3. 3.

    WaitingTasksToTakeMutex : Tasks waiting to take this mutex

The description of semaphore parameters shown in GUI is given below.

  1. 1.

    SemaphoreName : Friendly name that identifies the semaphore

  2. 2.

    MaximumCount : Maximum count that can be reached

  3. 3.

    CurrentCount : Available count that can be used now

  4. 4.

    WaitingTaskToGiveSemaphore : WaitingTaskToGiveSemaphore

  5. 5.

    WaitingTaskToTakeSemaphore : Tasks waiting to take this semaphore