diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-03-24 01:19:18 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | c207014f81fe742675c6e869b59d09e916c69fc6 (patch) | |
tree | dc4d82ea1d8ddabcf5fdc0d9eb3a16f5044063e9 /src/std | |
parent | dc90305a767feaacc3430aaee0928b745a8e5b0f (diff) |
Resolve cross-file references (with mutex). Not done
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/std/thread.c b/src/std/thread.c index 350631a..fb0e9ab 100644 --- a/src/std/thread.c +++ b/src/std/thread.c @@ -95,7 +95,7 @@ int amal_thread_join(amal_thread *self, void **result) { } if((result_err = pthread_join(self->thread_id, result)) != 0) { - /* Joining a thread that is not joinable shouldn't be an error */ + /* Joining a thread that is not joinable (has already finished) shouldn't be an error */ if(result_err == ESRCH) goto cleanup; amal_log_error("amal_thread_join: failed to join thread %llu, error: %s", self->thread_id, strerror(result_err)); |