[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] another DATE report



> Indeed, to avoid this problem when task switching, the usual workaround is to
> disable interrupts before acquiring and after releasing the spinlock. But
such
> a thing is acceptable if time is very short between locking and unlocking,
that
> is, not using a blocking function in-between.

... is to disable interrupts JUST before acquiring and to ENABLE interrupts
JUST after releasing the spinlock.


*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/