| 211 | } |
| 212 | |
| 213 | static inline bool time_less_(struct timespec a, struct timespec b) |
| 214 | { |
| 215 | if (TIME_CHECK(a).tv_sec < TIME_CHECK(b).tv_sec) |
| 216 | return true; |
| 217 | else if (a.tv_sec > b.tv_sec) |
| 218 | return false; |
| 219 | |
| 220 | return a.tv_nsec < b.tv_nsec; |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * time_before - is a before b? |
no outgoing calls