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
1 parent f8fd421 commit 6a6032b2a00dfb1aa6c62683ddb29e94128f8e94
@reddawg reddawg authored on 28 Jul 2004
Showing 1 changed file
View
src/sys/kernel/spinlock.c