summaryrefslogtreecommitdiff
path: root/usertests.c
diff options
context:
space:
mode:
authorrtm <rtm>2006-07-11 18:45:27 +0000
committerrtm <rtm>2006-07-11 18:45:27 +0000
commitb41b38d0da0854f3fa92967b70180ea1156154d4 (patch)
tree9066b45e76546b6e12ee2dd572c4505c34f420ca /usertests.c
parentb548df152b5a53ea8cfcb2d94fbdee07884d8050 (diff)
downloadxv6-labs-b41b38d0da0854f3fa92967b70180ea1156154d4.tar.gz
xv6-labs-b41b38d0da0854f3fa92967b70180ea1156154d4.tar.bz2
xv6-labs-b41b38d0da0854f3fa92967b70180ea1156154d4.zip
give each cpu its own clock, so that preemption works on cpu 1
Diffstat (limited to 'usertests.c')
-rw-r--r--usertests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usertests.c b/usertests.c
index 2f688ca..fa1b210 100644
--- a/usertests.c
+++ b/usertests.c
@@ -93,8 +93,8 @@ preempt()
main()
{
puts("usertests starting\n");
- pipe1();
- //preempt();
+ //pipe1();
+ preempt();
while(1)
;