Which library in the Android NDK implements the "__sync_synchronize" function

319 views
Skip to first unread message

Horácio Filho

unread,
Aug 30, 2024, 9:21:25 AM8/30/24
to android-ndk
Hello,

Please could someone here tell me which library in the Android NDK 27 implements the "__sync_synchronize" function? I have tested the "libclang_rt.builtins-arm-android.a" library, but it is not the answer here, unfortunately. 

Obrigado.

enh

unread,
Aug 30, 2024, 9:28:20 AM8/30/24
to andro...@googlegroups.com
it should become a single inline instruction on all of our supported
architectures (`dmb ish` on arm64, say) --- no need for a function.
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/a4fd390f-c7ad-4383-8111-b701a29ab787n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages