xwords/xwords4/android/jni
Eric House 9cdd5a7b72 share mpool and vtable in jni calls
A number of jni calls were "stateless", which meant they allocated their
own vtmgr and mpool instances each time invoked. Instead invoke them
with the global jni closure and add to it vtmgr (already has mpool) and
use these instead of allocating/freeing each time. To make sure no race
conditions are introduced (mpool, though debug-only, is probably not
thread-safe), guard these new uses with an in-use flag. If that fires
I'll need a mutex or something.
2018-06-27 21:17:44 -07:00
..
.gitignore forgot a file 2017-01-18 07:28:19 -08:00
anddict.c more script fixes; move jni code 2017-01-18 07:27:23 -08:00
anddict.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
andglobals.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
Android.mk finish: using java's base64 en/decoder from java 2017-07-13 07:40:28 -07:00
andutils.c create new fdroid variant 2017-11-27 20:40:06 -08:00
andutils.h fix makeIntArray to work for non-32-bit array sources 2017-03-13 19:32:20 -07:00
drawwrapper.c fix makeIntArray to work for non-32-bit array sources 2017-03-13 19:32:20 -07:00
drawwrapper.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
jniutlswrapper.c fix env-mapping crash in jni due to race condition 2018-01-22 07:45:43 -08:00
jniutlswrapper.h fix env-mapping crash in jni due to race condition 2018-01-22 07:45:43 -08:00
LocalizedStrIncludes.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
paths.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utils.c more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utilwrapper.c add timestamp to chat messages, db and display 2017-06-10 11:36:45 -07:00
utilwrapper.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
xportwrapper.c remove relayStatus() from jni 2017-12-27 14:42:15 -08:00
xportwrapper.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
xptypes.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
xwjni.c share mpool and vtable in jni calls 2018-06-27 21:17:44 -07:00