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
commit486c73aad8070a70a38aaba47eff125cf1ee669b (patch)
tree711ddee7e4090bfac3026ab66b9f26bfafe25e47
parentd9afcd47d152bbec1b0ca28b4bb0c893173a8c96 (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
}
/*