diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-05 11:42:35 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-05 11:42:35 +0200 |
commit | 33f4c5282f3f6f64cd97c30978d130b6efbc94ce (patch) | |
tree | 12bd38a498c228a63ead15fa4cd06a6c427d7640 /platform/android | |
parent | 9cd62741bb0e2f410b2fb861f66e2cf10fe0334d (diff) | |
parent | 958ecf55fed9d236a6b0dca2a1b88e1b401df971 (diff) |
Merge pull request #64819 from RandomShaper/enhance_thread_funcs
Enhance portability of threading
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/thread_jandroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/thread_jandroid.cpp b/platform/android/thread_jandroid.cpp index 61b471866f..9f87303341 100644 --- a/platform/android/thread_jandroid.cpp +++ b/platform/android/thread_jandroid.cpp @@ -63,7 +63,7 @@ static void term_thread() { void init_thread_jandroid(JavaVM *p_jvm, JNIEnv *p_env) { java_vm = p_jvm; env = p_env; - Thread::_set_platform_funcs(nullptr, nullptr, &init_thread, &term_thread); + Thread::_set_platform_functions({ .init = init_thread, .term = &term_thread }); } void setup_android_thread() { |