Skip to content

Commit a61b6ff

Browse files
author
Amanda Butler
authored
Tweak sentence for active voice.
Update sentence for active voice based on engineer feedback.
1 parent 57950e7 commit a61b6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/api/platform/CriticalSectionLock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The CriticalSectionLock class provides a mechanism to access a resource without
44

55
CriticalSectionLock class is based on RAII approach. In other words, the constructor acquires the lock, and the destructor destroys it automatically when it is out of scope. We do not recommend you use CriticalSectionLock as global or a member of a class because you will enter critical section on object creation, and all interrupts will be disabled.
66

7-
Nesting of critical section is supported, and the destructor enables interrupts only when you exit from the last nested critical section.
7+
Mbed OS supports nesting of critical section, and the destructor enables interrupts only when you exit from the last nested critical section.
88

99
<span class="notes">**Note:** You must not use time-consuming operations, standard library and RTOS functions inside critical section.</span>
1010

0 commit comments

Comments
 (0)