diff options
-rw-r--r-- | src/iou.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -349,7 +349,7 @@ int iou_run(iou_t *iou) return r; /* complete any processed async work */ - while (iou->n_async) { + if (iou->n_async) { pthread_mutex_lock(&iou->processed_mutex); _op = iou->processed; |