From b3210882dd02880ee5d4b21133855333252eca02 Mon Sep 17 00:00:00 2001 From: eventlOwOp <34993620+eventlOwOp@users.noreply.github.com> Date: Sat, 5 Apr 2025 17:26:31 +0800 Subject: [PATCH] explanation for 1.14.2 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 28efcc6..ec83c00 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,13 @@ log files are placed in `run`, `daemon.log` for `service.sh` and `zerotier.log` ## Build binaries yourself refer to `.github/workflow/build-{gcc|ndk}.yml` for detailed information. + +## Notes + +After 1.14.0, ZeroTierOne has introduce `multi-core concurrent packet processing`, which requires `pthread_setaffinity_np`. + +However, `pthread_setaffinity_np` won't be available until API level 36, Android 16. (refer to https://android.googlesource.com/platform/bionic/+/master/libc/include/pthread.h) + +So in the NDK bulid version, it'll be replaced by the combination of `pthread_gettid_np` from `` and `sched_getaffinity` from ``. + +We'll add support to this soon. Use the GCC build version to get access to the newest ZeroTierOne.