aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/basic/build.rs
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-05-04 10:34:20 +0200
committerpennae <[email protected]>2023-05-05 19:08:16 +0200
commit09f078a1cc33781a01012ebc43e9d20cff53e2a3 (patch)
tree4b9506d04ca368cfeff08c92f7837b56e480b297 /docs/modules/ROOT/examples/basic/build.rs
parent8ebe6e5f2029026594c703820c11d703da2c0334 (diff)
rp/pio: remove critical section in IrqFuture::poll
there's nothing this critical section protects against. both read and write-to-clear are atomic and don't interfere with other irq futures, only potentially with setting/clearing an irq flag from an arm core. neither have ever been synchronized, and both have the same observable effects under atomic writes and critical sections. (for both setting and clearing an irq flag observable differences could only happen if the set/clear happened after the poll read, but before the write. if it's a clear we observe the same effects as sequencing the clear entirely after the poll, and if it's a set we observe the same effects as sequencing the set entirely before the poll)
Diffstat (limited to 'docs/modules/ROOT/examples/basic/build.rs')
0 files changed, 0 insertions, 0 deletions