[Android] Add a comment about pthreads dynamic loading

This commit is contained in:
Triang3l 2020-11-23 00:42:14 +03:00
parent aae292aab5
commit 2cb7d26d62
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ void Initialize(const ANativeActivity* activity) {
dlsym(lib, #name)); \
assert_not_null(api_functions_.api_##api.name);
XE_PLATFORM_ANDROID_LOAD_API_FUNCTION(libandroid, ASharedMemory_create, 26);
// pthreads are a part of Bionic libc on Android.
XE_PLATFORM_ANDROID_LOAD_API_FUNCTION(libc, pthread_getname_np, 26);
#undef XE_PLATFORM_ANDROID_LOAD_API_FUNCTION
}