Skip to content

Commit

Permalink
Comment out things in bio.c that are currently not useful but that ma…
Browse files Browse the repository at this point in the history
…y be useful in the future.
  • Loading branch information
antirez committed Sep 19, 2011
1 parent 77ca5fc commit 47e7f9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -200,3 +205,4 @@ time_t bioOlderJobOfType(int type) {
return time;
}

#endif

0 comments on commit 47e7f9a

Please sign in to comment.