summaryrefslogtreecommitdiff
path: root/src/bio.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-09-19 17:06:27 +0200
committerantirez <antirez@gmail.com>2011-09-19 17:06:27 +0200
commit47e7f9acbd74856bc0324c590369b5d61dd5f058 (patch)
tree896640e067de44ce5849d2d6d1c6cffb7337ddd9 /src/bio.c
parent77ca5fcba639eeb8dec6525b4a43606a734175c7 (diff)
downloadredis-47e7f9acbd74856bc0324c590369b5d61dd5f058.tar.gz
Comment out things in bio.c that are currently not useful but that may be useful in the future.
Diffstat (limited to 'src/bio.c')
-rw-r--r--src/bio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bio.c b/src/bio.c
index a666f558e..eaac8e40d 100644
--- 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