Prashanth Swaminathan | acbd070 | 2021-01-22 11:58:15 -0800 | [diff] [blame^] | 1 | .. _module-pw_sync_baremetal: |
| 2 | |
| 3 | ----------------- |
| 4 | pw_sync_baremetal |
| 5 | ----------------- |
| 6 | This is a set of backends for pw_sync that works on baremetal targets. It is not |
| 7 | ready for use, and is under construction. The provided implementation makes a |
| 8 | single attempt to acquire the lock and asserts if it is unavailable. It does not |
| 9 | perform interrupt masking or disable global interrupts, so this implementation |
| 10 | does not support simultaneous multi-threaded environments including IRQs, and is |
| 11 | only meant to prevent data corruption. |