FreeRTOS
SemaphoreData::xMutexHolder
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
FreeRTOS
SemaphoreData::xMutexHolder
SemaphoreData::xMutexHolder field
The handle of the task that holds the mutex.
Syntax
Show:
Summary
Declaration
from
queue.c:76
TaskHandle_t
xMutexHolder
;
Examples
References
from
examples
Code
Location
Referrer
TaskHandle_t
xMutexHolder
;
/**< The handle of the task that holds the mutex. */
queue.c:76
pxNewQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
queue.c:622
prvInitialiseMutex()
pxReturn
=
pxSemaphore
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:707
xQueueGetMutexHolder()
pxReturn
=
(
(
Queue_t
*
)
xSemaphore
)
->
u
.
xSemaphore
.
xMutexHolder
;
queue.c:739
xQueueGetMutexHolderFromISR()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:771
xQueueGiveMutexRecursive()
if
(
pxMutex
->
u
.
xSemaphore
.
xMutexHolder
==
xTaskGetCurrentTaskHandle
(
)
)
queue.c:830
xQueueTakeMutexRecursive()
configASSERT
(
!
(
(
pxQueue
->
uxQueueType
==
queueQUEUE_IS_MUTEX
)
&&
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
!=
NULL
)
)
)
;
queue.c:1353
xQueueGiveFromISR()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
pvTaskIncrementMutexHeldCount
(
)
;
queue.c:1703
xQueueSemaphoreTake()
xInheritanceOccurred
=
xTaskPriorityInherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:1788
xQueueSemaphoreTake()
vTaskPriorityDisinheritAfterTimeout
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
,
uxHighestWaitingPriority
)
;
queue.c:1856
xQueueSemaphoreTake()
xReturn
=
xTaskPriorityDisinherit
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
)
;
queue.c:2408
prvCopyDataToQueue()
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
=
NULL
;
queue.c:2409
prvCopyDataToQueue()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
SemaphoreData::xMutexHolder
is written by 3 functions and is read by 7 functions:
prvInitialiseMutex()
xQueueSemaphoreTake()
prvCopyDataToQueue()
All items filtered out
SemaphoreData::xMutexHolder
xQueueGetMutexHolder()
xQueueGetMutexHolderFromISR()
xQueueGiveMutexRecursive()
xQueueTakeMutexRecursive()
xQueueGiveFromISR()
xQueueSemaphoreTake()
prvCopyDataToQueue()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out