From c207014f81fe742675c6e869b59d09e916c69fc6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 24 Mar 2019 01:19:18 +0100 Subject: Resolve cross-file references (with mutex). Not done --- src/std/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/std') 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)); -- cgit v1.2.3