diff options
| -rw-r--r-- | src/multiprocessing.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/src/multiprocessing.c b/src/multiprocessing.c index 38d85fc..1c585ff 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -352,8 +352,7 @@ int mp_pool_join(struct MultiProcessingPool *pool, size_t jobs, size_t flags) {                  time_t watcher_diff = time(NULL) - watcher;                  if (watcher_diff == 0) {                      printf("[%s:%s] Task is running (pid: %d)\n", pool->ident, slot->ident, slot->parent_pid); -                } -                if (watcher > 9) { +                } else if (watcher_diff > 9) {                      watcher = time(NULL);                  }              } | 
