summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-18 06:38:50 +0000
committerRoland McGrath <roland@gnu.org>1999-11-18 06:38:50 +0000
commita26dd44d0ed785a85dbb6013fb82babdf36207c4 (patch)
tree85986fa0a9916d93d5feaee9520a463fd684e579
parent8e9683156e941c64a41283baf2dfa0d4f1587e40 (diff)
1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
* default_pager.c (default_pager): Instead of suspending this thread, just become the default_pager_default_thread thread ourselves.
-rw-r--r--serverboot/default_pager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c
index 783e311e..198bb224 100644
--- a/serverboot/default_pager.c
+++ b/serverboot/default_pager.c
@@ -3185,9 +3185,12 @@ default_pager()
for (i = 0; i < default_pager_external_count; i++)
start_default_pager_thread(FALSE);
+ default_pager_default_thread(0); /* Become the default_pager server */
+#if 0
cthread_fork (default_pager_default_thread, 0);
/* cthread_exit (cthread_self ()); */
thread_suspend (mach_thread_self ());
+#endif
}
/*