Once the timer has been initialized, all other operations are atomic. Therefore we can simply `steal` the timer where needed, instead of holding it in a mutex/refcell. |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| time_driver_systimer.rs | ||
| time_driver_timg.rs | ||
Once the timer has been initialized, all other operations are atomic. Therefore we can simply `steal` the timer where needed, instead of holding it in a mutex/refcell. |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| time_driver_systimer.rs | ||
| time_driver_timg.rs | ||