… | |
… | |
3860 | if (ecb_expect_false (waittime < timeout_blocktime)) |
3860 | if (ecb_expect_false (waittime < timeout_blocktime)) |
3861 | waittime = timeout_blocktime; |
3861 | waittime = timeout_blocktime; |
3862 | |
3862 | |
3863 | /* now there are two more special cases left, either we have |
3863 | /* now there are two more special cases left, either we have |
3864 | * already-expired timers, so we should not sleep, or we have timers |
3864 | * already-expired timers, so we should not sleep, or we have timers |
3865 | * that expire very soon, in which case we need to weait for a minimum |
3865 | * that expire very soon, in which case we need to wait for a minimum |
3866 | * amount of time for some event loop backends |
3866 | * amount of time for some event loop backends. |
3867 | */ |
3867 | */ |
3868 | if (ecb_expect_false (waittime < backend_mintime)) |
3868 | if (ecb_expect_false (waittime < backend_mintime)) |
3869 | waittime = waittime <= EV_TS_CONST (0.) |
3869 | waittime = waittime <= EV_TS_CONST (0.) |
3870 | ? EV_TS_CONST (0.) |
3870 | ? EV_TS_CONST (0.) |
3871 | : backend_mintime; |
3871 | : backend_mintime; |