]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Use the default scheduler for short-term events
authorTobias Brunner <tobias@strongswan.org>
Sat, 2 May 2020 07:20:59 +0000 (09:20 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 12:07:06 +0000 (14:07 +0200)
commitd67a5b0c4d49ce19137b26ab658cd9ac759448ae
tree3cd0445faf1e7ec163afe849d534f0a9f9bc975e
parent1b4c4123c25c3d83a8904ddac137fc760c98bf60
android: Use the default scheduler for short-term events

Using AlarmManager has quite some overhead, so we use our regular
scheduler for events that are to be executed in the near future.
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_scheduler.c
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_scheduler.h
src/frontends/android/app/src/main/jni/libandroidbridge/charonservice.c