ok couldn't resist last commit hopefully it doesnt cause any bugs but if it does
in spinlock.c take the while (*lock == 1) schedYield(); and just make it while (*lock == 1); however I felt spining burns cpu time so if we yield it will run a new task should make stress a bit faster |
---|
|
src/sys/kernel/spinlock.c |
---|