From: antirez Date: Mon, 19 Sep 2011 15:06:27 +0000 (+0200) Subject: Comment out things in bio.c that are currently not useful but that may be useful... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/47e7f9acbd74856bc0324c590369b5d61dd5f058 Comment out things in bio.c that are currently not useful but that may be useful in the future. --- 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