From 4e45792a63fad1ed8ff159168b44387136e23b12 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Sep 2024 12:39:43 -0400 Subject: Shorten comment --- src/multiprocessing.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/multiprocessing.c') diff --git a/src/multiprocessing.c b/src/multiprocessing.c index 74ba981..039383e 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -265,8 +265,9 @@ int mp_pool_join(struct MultiProcessingPool *pool, size_t jobs, size_t flags) { // Child is already used up, skip it hang_check++; if (hang_check >= pool->num_used) { - // Unlikely to happen when called correctly, but if you join a pool that's already finished - // it will spin forever. This protects the program from entering an infinite loop. + // If you join a pool that's already finished it will spin + // forever. This protects the program from entering an + // infinite loop. fprintf(stderr, "%s is deadlocked\n", pool->ident); failures++; goto pool_deadlocked; -- cgit