From 47e7f9acbd74856bc0324c590369b5d61dd5f058 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Sep 2011 17:06:27 +0200 Subject: [PATCH] Comment out things in bio.c that are currently not useful but that may be useful in the future. --- src/bio.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bio.c b/src/bio.c index a666f558..eaac8e40 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 -- 2.45.2