mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
sched/Kconfig: Fix minor typos.
This commit is contained in:
parent
c3f16a46f0
commit
248f75fda4
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue