summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-06-24 23:25:59 +0000
committerMiles Bader <miles@gnu.org>1995-06-24 23:25:59 +0000
commitb6b095cdd989700d08d9ad95483738b8a5b172b5 (patch)
tree3cc2c34f165baedb12d5c9070849bb99ef3df1c5
parent1a26b8ff99f907247687683212479c5037d87965 (diff)
(main): Have the initial thread die when it's done, leaving other thread to
do the work. (thread_cancel): Dummy function.
-rw-r--r--ext2fs/ext2fs.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index de4e15f6..6a4c7513 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -306,10 +306,15 @@ main (int argc, char **argv)
/* We are the bootstrap filesystem; do special boot-time setup. */
diskfs_start_bootstrap (argv);
- /* Now become a generic request thread. */
- diskfs_main_request_loop ();
+ /* and so we die, leaving others to do the real work. */
+ cthread_exit (0);
}
+/* Dummy */
+void
+thread_cancel (thread_t foo __attribute__ ((unused)))
+{
+}
void
diskfs_init_completed ()