]> granicus.if.org Git - esp-idf/commit
freertos: check that mutex is released by owner task
authorIvan Grokhotkov <ivan@espressif.com>
Fri, 21 Dec 2018 04:49:33 +0000 (12:49 +0800)
committerbot <bot@espressif.com>
Mon, 11 Mar 2019 14:40:54 +0000 (14:40 +0000)
commit13523c95b42c77b4263ef98ce054962bcb338636
tree38df1402e548c875fe0ca69d0b724a80e6af9ddb
parentfc4823c885501c9da0350e8e451cde46eaae7c94
freertos: check that mutex is released by owner task

Mutex type semaphores should be acquired and released by the same task.
Add a check to xQueueGenericSend for this condition.
components/freertos/Kconfig
components/freertos/include/freertos/FreeRTOSConfig.h
components/freertos/queue.c
components/freertos/test/test_freertos_mutex.c [new file with mode: 0644]