Redo and improve thread scheduling startup.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 2 Sep 2004 08:12:53 +0000 (08:12 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 2 Sep 2004 08:12:53 +0000 (08:12 +0000)
commit828d300fd2039b686b69244c2bd6f8b87645086d
tree041b754817c75d4bb0eefe4ce031be84da2d4613
parent5929545c4fd9c31423b929d4d9631132e2697472
Redo and improve thread scheduling startup.
In the process make it possible to use locks before the preemptive
scheduler is turned on.
This lets us add locking to the page allocator.
src/threads/init.c
src/threads/loader.S
src/threads/palloc.c
src/threads/palloc.h
src/threads/thread.c
src/threads/thread.h