提交 47e7f9ac 编写于 作者: A antirez

Comment out things in bio.c that are currently not useful but that may be useful in the future.

上级 77ca5fcb
...@@ -153,6 +153,11 @@ unsigned long long bioPendingJobsOfType(int type) { ...@@ -153,6 +153,11 @@ unsigned long long bioPendingJobsOfType(int type) {
return val; 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 /* Wait until the number of pending jobs of the specified type are
* less or equal to the specified number. * less or equal to the specified number.
* *
...@@ -200,3 +205,4 @@ time_t bioOlderJobOfType(int type) { ...@@ -200,3 +205,4 @@ time_t bioOlderJobOfType(int type) {
return time; return time;
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册