aboutsummaryrefslogtreecommitdiff
path: root/src/std
diff options
context:
space:
mode:
Diffstat (limited to 'src/std')
-rw-r--r--src/std/thread.c2
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));