Some comment improving
This commit is contained in:
+1
-1
@@ -170,7 +170,7 @@ again:
|
|||||||
|
|
||||||
event_cnt = iomux_timers_run(mux_); //process timers
|
event_cnt = iomux_timers_run(mux_); //process timers
|
||||||
|
|
||||||
if (rc == 0) //Just the timeout
|
if (rc == 0) //no fd's were ready, no more work to do
|
||||||
return event_cnt;
|
return event_cnt;
|
||||||
|
|
||||||
for (i = 0; i < rc; i++) {
|
for (i = 0; i < rc; i++) {
|
||||||
|
|||||||
+1
-1
@@ -157,7 +157,7 @@ again:
|
|||||||
|
|
||||||
event_cnt = iomux_timers_run(mux_); //fire the timers
|
event_cnt = iomux_timers_run(mux_); //fire the timers
|
||||||
|
|
||||||
if (rc == 0) //Just the timeout
|
if (rc == 0) //no fd's were ready, no more work to do
|
||||||
return event_cnt;
|
return event_cnt;
|
||||||
|
|
||||||
for (i = 0; rc >= 0 && i < mux->num_descriptors; i++) {
|
for (i = 0; rc >= 0 && i < mux->num_descriptors; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user