explanation for 1.14.2

This commit is contained in:
eventlOwOp
2025-04-05 17:26:31 +08:00
committed by GitHub
parent e2c0c3a515
commit b3210882dd
+10
View File
@@ -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 `<pthread.h>` and `sched_getaffinity` from `<sched.h>`.
We'll add support to this soon. Use the GCC build version to get access to the newest ZeroTierOne.