diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-01 20:25:50 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-01 20:25:50 +0300 |
commit | c7e8a6f2123c653b63ed8013a805eddff502b9ee (patch) | |
tree | 1b4dd1cd6c27935fbadb2b4a00a514e0a27bdce0 /src/stream/ngx_stream_log_module.c | |
parent | 6e30556127157ddf04e925480ce1e0ef9df2ca0a (diff) | |
download | nginx-c7e8a6f2123c653b63ed8013a805eddff502b9ee.tar.gz nginx-c7e8a6f2123c653b63ed8013a805eddff502b9ee.zip |
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).
Diffstat (limited to 'src/stream/ngx_stream_log_module.c')
0 files changed, 0 insertions, 0 deletions