tinygo/tools/gen-critical-atomics
Nia Waldvogel 9fa667ce63 rumtime: implement __sync libcalls as critical sections
This change implements __sync atomic polyfill libcalls by disabling interrupts.
This was previously done in a limited capacity on some targets, but this change uses a go:generate to emit all of the calls on all microcontroller targets.
2021-12-28 22:12:03 +01:00
..
gen-critical-atomics.go rumtime: implement __sync libcalls as critical sections 2021-12-28 22:12:03 +01:00