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.