]> git.ipfire.org Git - thirdparty/sqlite.git/commit
An initial attempt at protecting the JNI global state via mutexes at the C level...
authorstephan <stephan@noemail.net>
Sun, 13 Aug 2023 09:53:27 +0000 (09:53 +0000)
committerstephan <stephan@noemail.net>
Sun, 13 Aug 2023 09:53:27 +0000 (09:53 +0000)
commit71e5694cd51bbf66546e58b52553a16fb7e842ff
tree573dec45b9bef5978c8bcf3ab79907530af30b4d
parent0c07549fd6b88c2b62b8c49c6409ee2e784bf239
An initial attempt at protecting the JNI global state via mutexes at the C level instead of relying on Java's synchronized keyword. It seems to work but increases the run time of the single-threaded batch tester by roughly 3 times.

FossilOrigin-Name: c64e6a52ac79164be37fe643a4a39bd187af198a379410def8b8419f7c2224d4
ext/jni/src/c/sqlite3-jni.c
ext/jni/src/c/sqlite3-jni.h
ext/jni/src/org/sqlite/jni/SQLite3Jni.java
manifest
manifest.uuid