1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Improve threading support for all types of JNI-side callback hooks, making them safe to invoke if another thread is busy replacing them.

FossilOrigin-Name: f2af7bbf493fe28d92fc9c77425f8bb9d48c02af9a5eabceb0365c705651e114
This commit is contained in:
stephan
2023-08-26 10:20:38 +00:00
parent 25033b6b3b
commit 6f8f587d2f
4 changed files with 353 additions and 255 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,8 @@ package org.sqlite.jni;
public interface XDestroyCallback {
/**
Must perform any cleanup required by this object. Must not
throw.
throw. Must not call back into the sqlite3 API, else it might
invoke a deadlock.
*/
public void xDestroy();
}