mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:17:13 +08:00
sched/Kconfig: Fix minor typos.
This commit is contained in:
committed by
Gregory Nutt
parent
c3f16a46f0
commit
248f75fda4
+2
-2
@@ -1119,13 +1119,13 @@ menuconfig PRIORITY_INHERITANCE
|
|||||||
When this option is enabled, the initial configuration of all seamphores
|
When this option is enabled, the initial configuration of all seamphores
|
||||||
and mutexes will be with priority inheritance enabled. That configuration
|
and mutexes will be with priority inheritance enabled. That configuration
|
||||||
may not be appropriate in all cases (such as when the semaphore or mutex
|
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:
|
disabled for individual semaphores by calling:
|
||||||
|
|
||||||
int ret = sem_setprotocol(&sem, SEM_PRIO_NONE);
|
int ret = sem_setprotocol(&sem, SEM_PRIO_NONE);
|
||||||
|
|
||||||
From applications, the functionally equivalent OS internal interface,
|
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
|
And for individual pthread mutexes by setting the protocol attribute
|
||||||
before initializing the mutex:
|
before initializing the mutex:
|
||||||
|
|||||||
Reference in New Issue
Block a user