From b6b095cdd989700d08d9ad95483738b8a5b172b5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 24 Jun 1995 23:25:59 +0000 Subject: (main): Have the initial thread die when it's done, leaving other thread to do the work. (thread_cancel): Dummy function. --- ext2fs/ext2fs.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ext2fs/ext2fs.c') 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 () -- cgit v1.2.3