diff --git a/src/rtos/spinlock.c b/src/rtos/spinlock.c index 265d8d0..145e7f6 100644 --- a/src/rtos/spinlock.c +++ b/src/rtos/spinlock.c @@ -23,6 +23,7 @@ void isr_spinlock_unlock(struct spinlock *lock) { current_context->priority = lock->priority_unlocked; lock->locked = 0; + // TODO: check for context-switch... }