diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-30 12:39:43 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-30 12:39:43 -0400 |
commit | 4e45792a63fad1ed8ff159168b44387136e23b12 (patch) | |
tree | 0e8c740150f1afd1b755d75b1c539440780f16dd | |
parent | 73219c6e26a4847b3429318148918b78f6452ac1 (diff) | |
download | stasis-4e45792a63fad1ed8ff159168b44387136e23b12.tar.gz |
Shorten comment
-rw-r--r-- | src/multiprocessing.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |