diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-03-02 22:20:32 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-03-02 22:20:32 +0100 |
commit | 812c1a4e21e9eefbc2b036eac6c910f1f137ad55 (patch) | |
tree | b146e5181bf4cfe1561849f1ef34e55e890a1d74 /rumpdisk | |
parent | 47501a9a39d7835d4c80aa8ed7531c6c101101fb (diff) | |
download | hurd-812c1a4e21e9eefbc2b036eac6c910f1f137ad55.tar.gz hurd-812c1a4e21e9eefbc2b036eac6c910f1f137ad55.tar.bz2 hurd-812c1a4e21e9eefbc2b036eac6c910f1f137ad55.zip |
rumpdisk: Let server threads run
* rumpdisk/main.c (main): Call pthread_exit(NULL) to let server threads
continue.
Diffstat (limited to 'rumpdisk')
-rw-r--r-- | rumpdisk/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rumpdisk/main.c b/rumpdisk/main.c index 150dc996..a26e17cb 100644 --- a/rumpdisk/main.c +++ b/rumpdisk/main.c @@ -124,5 +124,7 @@ main (int argc, char **argv) return err; pthread_detach (t); machdev_trivfs_server (bootstrap); + /* Let the other threads do their job */ + pthread_exit (NULL); return 0; } |