Mercurial > hg > nginx
comparison src/core/ngx_rbtree.c @ 7222:81fae70d6cb8
Core: ngx_current_msec now uses monotonic time if available.
When clock_gettime(CLOCK_MONOTONIC) (or faster variants, _FAST on FreeBSD,
and _COARSE on Linux) is available, we now use it for ngx_current_msec.
This should improve handling of timers if system time changes (ticket #189).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 01 Mar 2018 20:25:50 +0300 |
parents | e0cc454aafe4 |
children | 7fdcf308e0f0 |
comparison
equal
deleted
inserted
replaced
7221:43585e0e12a3 | 7222:81fae70d6cb8 |
---|