From: antirez Date: Thu, 15 Sep 2011 16:23:11 +0000 (+0200) Subject: some more comment about bio.c design X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/fbb23ce496eaffa8313846601a73a68df0c0ba5d some more comment about bio.c design --- diff --git a/src/bio.c b/src/bio.c index 1657455e..6f2c8a6c 100644 --- a/src/bio.c +++ b/src/bio.c @@ -20,6 +20,10 @@ * Every thread wait for new jobs in its queue, and process every job * sequentially. * + * Jobs of the same type are guaranteed to be processed from the least + * recently inserted to the most recently inserted (older jobs processed + * first). + * * Currently there is no way for the creator of the job to be notified about * the completion of the operation, this will only be added when/if needed. */