]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Switch to CLOCK_REALTIME on Android
authorTobias Brunner <tobias@strongswan.org>
Thu, 19 Mar 2020 13:22:56 +0000 (14:22 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 11:57:37 +0000 (13:57 +0200)
commit31298187bfbec1bb0a056ae00aa4b4551129b460
treeaa9856a671de3eb5b77ea68e0cdc51d75eccfd9d
parent3e358475bb500dd3811616ee3c62f9a56070392a
android: Switch to CLOCK_REALTIME on Android

This allows measuring the delay between events more accurately if a
device is often suspended.

While CLOCK_BOOTTIME would be preferable, Android's bionic C library
does not support it for condvars.
src/libstrongswan/utils/compat/android.h