From 91ef2ec39450abb210c04becc582ecb46cbbf447 Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Sun, 8 Sep 2019 15:59:14 -0600 Subject: [PATCH] Fix a few minor typos --- Documentation/NuttxUserGuide.html | 4 ++-- boards/arm/stm32/maple/Kconfig | 2 +- graphics/vnc/server/vnc_fbdev.c | 6 +++--- include/nuttx/mutex.h | 12 ++++++------ include/nuttx/semaphore.h | 4 ++-- include/nuttx/video/vnc.h | 4 ++-- libs/libc/semaphore/sem_init.c | 4 ++-- libs/libc/semaphore/sem_setprotocol.c | 4 ++-- sched/semaphore/sem_setprotocol.c | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index 2b0167d0e7..dd4c3b64bf 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -3596,7 +3596,7 @@ interface of the same name.

Locking versus Signaling Semaphores. Semaphores (and mutexes) may be used for many different purposes. - One typical use of for mutual exclusion and locking of resources: + One typical use is for mutual exclusion and locking of resources: In this usage, the thread that needs exclusive access to a resources takes the semaphore to get access to the resource. The same thread subsequently releases the seamphore count when it no longer needs exclusive access. Priority inheritance is intended just for this usage case. @@ -3930,7 +3930,7 @@ interface of the same name.

The timeout will expire when the absolute time specified by abstime passes, as measured by the clock on which timeouts are based (that is, when the value of that clock equals or exceeds abstime), or if the absolute time specified by abstime has already been passed at the time of the call. This function attempts to lock the semaphore referenced by sem. - If the semaphore as already locked by another task, the calling task will not return until it either successfully acquires the lock or the call is interrupted by a signal. + If the semaphore is already locked by another task, the calling task will not return until it either successfully acquires the lock or the call is interrupted by a signal.

Input Parameters: