mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Fix a few minor typos
This commit is contained in:
committed by
Gregory Nutt
parent
f9327b6b06
commit
91ef2ec394
@@ -54,7 +54,7 @@
|
||||
* Name: nxsem_init
|
||||
*
|
||||
* Description:
|
||||
* This function initializes the UNAMED semaphore sem. Following a
|
||||
* This function initializes the UNNAMED semaphore sem. Following a
|
||||
* successful call to nxsem_init(), the semaphore may be used in subsequent
|
||||
* calls to nxsem_wait(), nxsem_post(), and nxsem_trywait(). The semaphore
|
||||
* remains usable until it is destroyed.
|
||||
@@ -110,7 +110,7 @@ int nxsem_init(FAR sem_t *sem, int pshared, unsigned int value)
|
||||
* Name: sem_init
|
||||
*
|
||||
* Description:
|
||||
* This function initializes the UNAMED semaphore sem. Following a
|
||||
* This function initializes the UNNAMED semaphore sem. Following a
|
||||
* successful call to sem_init(), the semaphore may be used in subsequent
|
||||
* calls to sem_wait(), sem_post(), and sem_trywait(). The semaphore
|
||||
* remains usable until it is destroyed.
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* Description:
|
||||
* Set semaphore protocol attribute.
|
||||
*
|
||||
* One particularly important use of this furnction is when a semaphore
|
||||
* One particularly important use of this function is when a semaphore
|
||||
* is used for inter-task communication like:
|
||||
*
|
||||
* TASK A TASK B
|
||||
@@ -114,7 +114,7 @@ int nxsem_setprotocol(FAR sem_t *sem, int protocol)
|
||||
* Description:
|
||||
* Set semaphore protocol attribute.
|
||||
*
|
||||
* One particularly important use of this furnction is when a semaphore
|
||||
* One particularly important use of this function is when a semaphore
|
||||
* is used for inter-task communication like:
|
||||
*
|
||||
* TASK A TASK B
|
||||
|
||||
Reference in New Issue
Block a user