From 248f75fda454204f1efc05e7d20c4fd06e4e29c4 Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Sun, 18 Aug 2019 18:04:08 -0600 Subject: [PATCH] sched/Kconfig: Fix minor typos. --- sched/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/Kconfig b/sched/Kconfig index 4b42bcf2d0d..90cc7b42c20 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -1119,13 +1119,13 @@ menuconfig PRIORITY_INHERITANCE When this option is enabled, the initial configuration of all seamphores and mutexes will be with priority inheritance enabled. That configuration may not be appropriate in all cases (such as when the semaphore or mutex - is used for signaling). In such cases, priority inheritance be be + is used for signaling). In such cases, priority inheritance can be disabled for individual semaphores by calling: int ret = sem_setprotocol(&sem, SEM_PRIO_NONE); From applications, the functionally equivalent OS internal interface, - nxsem_setrotocol() should be used within the OS + nxsem_setprotocol(), should be used within the OS And for individual pthread mutexes by setting the protocol attribute before initializing the mutex: