Does anyone know how Java thread relates to Android native thread?
Does it map one to one?
We have mission critical code that is not executed uninterruptedly in
Android java thread on some lower power Android devices. What would be
the best solution to address this problem? The mission critical code
itself is in native code however what we see is that on some devices
the thread in Java application layer that calls the mission critical
native code is not given enough priority and frequently interrupted by
other threads (for instance just rotating device suspends that thread)
though we boost its priority to highest level. We thought about
creating a pure native thread in NDK layer and set its native priority
to highest level. Maybe in this case it will not be interrupted by GC
and will execute more efficient.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to
andro...@googlegroups.com.
To unsubscribe from this group, send email to
android-ndk...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-ndk?hl=en.