summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-09-15 18:23:11 +0200
committerantirez <antirez@gmail.com>2011-09-19 17:43:23 +0200
commit2eae7cbc7d54e12f5f14bab192f0f803194e5cb4 (patch)
treef4e597977f15b381c59ba0043492cce78e09f0c2
parent693618f1c1c09fdef1b597630a254a03bc9fef09 (diff)
downloadredis-2eae7cbc7d54e12f5f14bab192f0f803194e5cb4.tar.gz
some more comment about bio.c design
-rw-r--r--src/bio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bio.c b/src/bio.c
index 1657455eb..6f2c8a6c0 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.
*/