Permalink
Browse files

Comment out things in bio.c that are currently not useful but that ma…

…y be useful in the future.
  • Loading branch information...
1 parent 6ca793f commit 9f775040c8a96901ce0e93d552e8bc48176f3ebc @antirez committed Sep 19, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/bio.c
View
@@ -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

0 comments on commit 9f77504

Please sign in to comment.