Commit bed23e4a authored by william's avatar william

fix some comments

parent 9f7599c4
......@@ -431,8 +431,8 @@ static timeout_t tms__timeout(struct timeouts *T) {
/*
* Provide a minimum timeout for our caller. If anything is pending on
* the expiration queue return 0, beca
* Calculate a timeout that our caller can wait before updating and
* processing the wheel.
*/
timeout_t timeouts_timeout(struct timeouts *T) {
if (!CIRCLEQ_EMPTY(&T->expired))
......@@ -458,7 +458,8 @@ struct timeout *timeouts_get(struct timeouts *T) {
/*
* Use dumb looping to locate the earliest timeout pending on the wheel.
* Use dumb looping to locate the earliest timeout pending on the wheel so
* our invariant assertions can check the result of our optimized code.
*/
static struct timeout *tms__min(struct timeouts *T) {
struct timeout *to, *min = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment