File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace mbed {
31
31
*
32
32
* @tparam Lockable The type implementing BasicLockable concept
33
33
*
34
- * @note For type Lockable to be BasicLockable the following conditions have to be satisfied:
34
+ * @note For type Lockable to be BasicLockable, the following conditions have to be satisfied:
35
35
* - has public member function @a lock which blocks until a lock can be obtained for the current execution context
36
36
* - has public member function @a unlock which releases the lock
37
37
*
@@ -42,7 +42,7 @@ namespace mbed {
42
42
* @code
43
43
* void foo(Mutex &m) {
44
44
* ScopedLock<Mutex> lock(m);
45
- * // Code in this block will be protected by Mutex lock
45
+ * // Mutex lock protects code in this block
46
46
* }
47
47
* @endcode
48
48
*
@@ -53,7 +53,7 @@ namespace mbed {
53
53
* template<typename Lockable>
54
54
* void foo(Lockable& lockable) {
55
55
* ScopedLock<Lockable> lock(lockable);
56
- * // Code in this block will run under lock
56
+ * // Code in this block runs under lock
57
57
* }
58
58
* @endcode
59
59
*/
You can’t perform that action at this time.
0 commit comments