QnaList > Groups > Android-Ndk > Mar 2016
faq

Native Libs Freezes, Problems With Mutex

I have issue with the my native lib and Samsung devices (concretely Samsung Galaxy Tab-E, Android 4.4.4).
I created thread on Samsung developers site, more detailed with test app, 
logs and sources: 
http://developer.samsung.com/forum/board/thread/view.do?boardName=SDK&messageId)0039
As i understood, and after some tests - problem in critical sections: mutex.
If we try to enter to different critical sections in different threads - app sometime freezes. Threads are hung. 
TRTLCriticalSection is wrapper for pthread_mutex_t.
Meybe problem in Android 4.4.4, i can't test this. I have only one device 
with this OS version.
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.

asked Mar 11 2016 at 13:59

Dmitriy. 's gravatar image



2 Replies for : Native Libs Freezes, Problems With Mutex
Are you using NDK r11 or NDK-BUNDLE 2.0.0 ?
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.

answered Mar 16 2016 at 11:52

kacper.kopczynskivestiacom.com's gravatar image


At now - yes. Before i use latest NDK r10.
Problem was solved, i download new NDK r11, update FPC 3.0 sources, rebuild 
all sources of FPC 3.0 and project without FPU support. And now all works 
fine on all devices.
пятница, 18 марта 2016 г., 6:49:42 UTC+2 пользователь 
[email protected] написал:
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.

answered Mar 23 2016 at 05:48

Dmitriy. 's gravatar image


Related discussions

Tagged

Group Android-ndk

asked Mar 11 2016 at 13:59

active Mar 23 2016 at 05:48

posts:3

users:2

©2013 QnaList.com