Skip to content

Commit f6004c0

Browse files
author
Amanda Butler
authored
Edit PlatformMutex.md
Edit file, mostly for active voice.
1 parent 5d435ec commit f6004c0

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

docs/api/platform/PlatformMutex.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,25 @@
22

33
<span class="images">![](http://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/class_platform_mutex.png)<span>PlatformMutex class hierarchy</span></span>
44

5-
The PlatformMutex class is used to synchronize the execution of threads.
5+
You can use the PlatformMutex class to synchronize the execution of threads.
66

7-
The PlatformMutex class is used by the Mbed OS drivers instead of [Mutex](mutex.html).
8-
This enables the use of drivers when the Mbed OS is compiled without the RTOS.
9-
For example, please see [AnalogIn](analogin.html), [BusOut](busout.html),
10-
[SPI](spi.html), [Serial](serial.html) and [I2C](i2c.html).
7+
The Mbed OS drivers use the PlatformMutex class instead of [Mutex](mutex.html). This enables the use of drivers when the Mbed OS is compiled without the RTOS. For examples, please see [AnalogIn](analogin.html), [BusOut](busout.html), [Serial](serial.html), [SPI](spi.html) and [I2C](i2c.html).
118

12-
<span class="notes">**Note:**
13-
For the standard use of RTOS mutexes, please see [Mutex](mutex.html).</span>
9+
<span class="notes">**Note:** For the standard use of RTOS mutexes, please see [Mutex](mutex.html).</span>
1410

1511
### PlatformMutex class reference
1612

1713
[![View code](https://www.mbed.com/embed/?type=library)](http://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/class_platform_mutex.html)
1814

1915
### PlatformMutex example
2016

21-
PlatformMutex usage example for Mbed OS compiled with the RTOS.
22-
2317
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/mbed-os-example-platform-mutex/)](https://os.mbed.com/teams/mbed_example/code/mbed-os-example-platform-mutex/file/2084d9e90526/main.cpp)
2418

2519
### Related content
2620

27-
- [Mutex](mutex.html),
28-
- [AnalogIn](analogin.html),
29-
- [BusOut](busout.html),
30-
- [SPI](spi.html),
31-
- [Serial](serial.html),
21+
- [Mutex](mutex.html).
22+
- [AnalogIn](analogin.html).
23+
- [BusOut](busout.html).
24+
- [Serial](serial.html).
25+
- [SPI](spi.html).
3226
- [I2C](i2c.html).

0 commit comments

Comments
 (0)