]> git.ipfire.org Git - thirdparty/strongswan.git/commit
time: Allow using different clocks
authorTobias Brunner <tobias@strongswan.org>
Thu, 19 Mar 2020 13:19:22 +0000 (14:19 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 11:57:37 +0000 (13:57 +0200)
commit3e358475bb500dd3811616ee3c62f9a56070392a
treec5310e74f79323adfd2d69c99d75c4d105a32a46
parent8b93510dace6b1e46dacc24525868362b7c9f32c
time: Allow using different clocks

On some systems it might be preferable to use e.g. CLOCK_BOOTTIME
instead of CLOCK_MONOTONIC, which is also not affected by time
adjustments but includes times when the system was suspended.
src/libstrongswan/threading/mutex.c
src/libstrongswan/utils/utils/time.c
src/libstrongswan/utils/utils/time.h