diff options
author | 2017-07-27 11:37:58 -0500 | |
---|---|---|
committer | 2017-07-27 11:37:58 -0500 | |
commit | 0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad (patch) | |
tree | affdb231beeb7c823a36197c780c3cd740a7e0c2 /examples/generics.rs | |
parent | dee2fcde716a2dbb1404caa4e0f8f4ce11c472c8 (diff) | |
download | rtic-0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad.tar.gz rtic-0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad.tar.zst rtic-0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad.zip |
refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomic
task! can be re-added in a backward compatible fashion and I'd like to not have
two ways to assign a task handler to an interrupt / exception in the first
release.
rtfm::atomic now uses the `Threshold` token instead of the `CriticalSection`
token. This reduces overhead by dropping the "are interrupts enabled?" check.
Diffstat (limited to 'examples/generics.rs')
0 files changed, 0 insertions, 0 deletions