mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
Add static mut
This commit is contained in:
parent
29b81a23d6
commit
b0f6d60c3d
1 changed files with 1 additions and 1 deletions
|
@ -146,5 +146,5 @@ There exists two other options dealing with resources
|
||||||
same priority never can preempt another task on the same priority
|
same priority never can preempt another task on the same priority
|
||||||
this is safe.
|
this is safe.
|
||||||
* `#[task_local]`: there must be only one task using this resource,
|
* `#[task_local]`: there must be only one task using this resource,
|
||||||
similar to a task local resource, but (optionally) set-up by init.
|
similar to a `static mut` task local resource, but (optionally) set-up by init.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue