Add static mut

This commit is contained in:
Henrik Tjäder 2020-11-12 18:24:57 +00:00
parent 29b81a23d6
commit b0f6d60c3d

View file

@ -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.