diff options
author | Damien Zammit <damien@zamaudio.com> | 2021-03-02 22:21:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-03-02 22:21:52 +0100 |
commit | 1b606146771feaabebebecbec3d0bfb515403bbf (patch) | |
tree | ab81cef3227ec515b60b7f5b8827f255ae24e75e | |
parent | 5fb997c779d89e0db39892f85c977825a86d32eb (diff) |
Let server threads run
main.c (main): Call pthread_exit(NULL) to let server threads continue.
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,5 +29,8 @@ int main(int argc, char **argv) ddekit_thread_create (machdev_run1, NULL, "ds_server"); machdev_run2(); + /* Let the other threads do their job */ + pthread_exit(NULL); + return 0; } |