From: git Date: Tue, 17 Feb 2026 18:22:04 +0000 (-0500) Subject: brought back accidentally removed pthread_join X-Git-Url: https://git.datadissipation.net/?a=commitdiff_plain;h=c39f729a1bfa787500cce0ed631edee402ca167d;p=ust.git brought back accidentally removed pthread_join how have I managed to remove that in the first place --- diff --git a/ust.c b/ust.c index 919d1d6..56d0482 100644 --- a/ust.c +++ b/ust.c @@ -910,4 +910,6 @@ main(int argc, char **argv) pthread_t readthread, writethread; pthread_create(&writethread, NULL, writeport, NULL); pthread_create(&readthread, NULL, readport, NULL); + pthread_join(writethread, NULL); + pthread_join(readthread, NULL); }