Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3210882dd |
@@ -97,3 +97,13 @@ log files are placed in `run`, `daemon.log` for `service.sh` and `zerotier.log`
|
|||||||
## Build binaries yourself
|
## Build binaries yourself
|
||||||
|
|
||||||
refer to `.github/workflow/build-{gcc|ndk}.yml` for detailed information.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user