Copy edit Mutex.h

Copy edit document for active voice and consistent branding.
pull/5852/head
Amanda Butler 2018-01-17 16:56:32 -06:00 committed by GitHub
parent 8f175609ae
commit 1d35ccecab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class Mutex;
* @code
* void foo(Mutex &m) {
* ScopedMutexLock lock(m);
* // Code in this block will be protected by Mutex lock
* // Mutex lock protects code in this block
* }
* @endcode
*/
@ -56,7 +56,7 @@ typedef mbed::ScopedLock<Mutex> ScopedMutexLock;
This is for example used to protect access to a shared resource.
@note
Memory considerations: The mutex control structures will be created on current thread's stack, both for the mbed OS
Memory considerations: The mutex control structures will be created on current thread's stack, both for the Mbed OS
and underlying RTOS objects (static or dynamic RTOS memory pools are not being used).
*/
class Mutex : private mbed::NonCopyable<Mutex> {