]> git.saurik.com Git - redis.git/commitdiff
Comment out things in bio.c that are currently not useful but that may be useful...
authorantirez <antirez@gmail.com>
Mon, 19 Sep 2011 15:06:27 +0000 (17:06 +0200)
committerantirez <antirez@gmail.com>
Mon, 19 Sep 2011 15:06:27 +0000 (17:06 +0200)
src/bio.c

index a666f558ec121c049d0f862ecd85cd57da66888e..eaac8e40d55663caf3fbacf4212a01247ba26972 100644 (file)
--- a/src/bio.c
+++ b/src/bio.c
@@ -153,6 +153,11 @@ unsigned long long bioPendingJobsOfType(int type) {
     return val;
 }
 
+#if 0 /* We don't use the following code for now, and bioWaitPendingJobsLE
+         probably needs a rewrite using conditional variables instead of the
+         current implementation. */
+         
+
 /* Wait until the number of pending jobs of the specified type are
  * less or equal to the specified number.
  *
@@ -200,3 +205,4 @@ time_t bioOlderJobOfType(int type) {
     return time;
 }
 
+#endif