Queue/De-Queue between Java and C++ for Android -
is there known way of enquing/dequing data between java , c++ under android? trying show images user various steps perform in c++ problem each step have return java , come c++.
i thought of queue usage not sure if thing use or possible use queues. both @ java , c++ end. 2 queues under separate threads. 1 thread (c++) inserting queue , other (java) removing queue.
any appreciated.
it possible on openjdk without using jni. (in fact have implementation openjdk/hotspot) afaik, end using jni in place in android doesn't use intrincis i.e. ability access off heap memory without jni.
is jni on android expensive? have thought takes around micro-second or less.
Comments
Post a Comment