3 ms·
Really good information. I have only used naive spinlocks on hacky ducttape for embedded RTOSes. And most of the time those will provide better mutex or semaph
by mips_r4300i 3y ago
Really good information.
I have only used naive spinlocks on hacky ducttape for embedded RTOSes. And most of the time those will provide better mutex or semaphore functions you should be using instead of the spinwait.
Interesting that the example uses ARM but the moral of the story is "you shouldn't need to do this, and if you do, you have bigger problems"