Change time offset to RwLock

This commit is contained in:
Wildan M
2026-03-10 05:58:26 +07:00
parent 7fa253cf6a
commit c4e86bfffd
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ interrupt_stack!(pit_stack, |_stack| {
let mut token = unsafe { CleanLockToken::new() };
{
*time::OFFSET.lock(token.token()) += pit::RATE;
*time::OFFSET.write(token.token()) += pit::RATE;
}
unsafe { eoi(0) };