|
2 | 2 |
|
3 | 3 | <span class="images"><span>PlatformMutex class hierarchy</span></span>
|
4 | 4 |
|
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. |
6 | 6 |
|
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). |
11 | 8 |
|
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> |
14 | 10 |
|
15 | 11 | ### PlatformMutex class reference
|
16 | 12 |
|
17 | 13 | [](http://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/class_platform_mutex.html)
|
18 | 14 |
|
19 | 15 | ### PlatformMutex example
|
20 | 16 |
|
21 |
| -PlatformMutex usage example for Mbed OS compiled with the RTOS. |
22 |
| - |
23 | 17 | [](https://os.mbed.com/teams/mbed_example/code/mbed-os-example-platform-mutex/file/2084d9e90526/main.cpp)
|
24 | 18 |
|
25 | 19 | ### Related content
|
26 | 20 |
|
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). |
32 | 26 | - [I2C](i2c.html).
|
0 commit comments