]> git.saurik.com Git - redis.git/commitdiff
some more comment about bio.c design
authorantirez <antirez@gmail.com>
Thu, 15 Sep 2011 16:23:11 +0000 (18:23 +0200)
committerantirez <antirez@gmail.com>
Thu, 15 Sep 2011 16:23:11 +0000 (18:23 +0200)
src/bio.c

index 1657455eb26f460a9945f6b682494d0da1a0585f..6f2c8a6c0d49d96e7a60722a31fd6428d27d085d 100644 (file)
--- a/src/bio.c
+++ b/src/bio.c
  * 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.
  */