In all but a few cases, the data structures created and used by this library are not thread-safe. Therefore, they should not be shared across threads.
The exception to this are kv_impl_t
and
kv_store_t
, which are thread-safe once they
are created. However, you should take care to create and release
these in a single-threaded manner.
kv_impl_t
is created using
kv_create_jni_impl() and released using kv_release_impl().
kv_store_t
is created using kv_open_store()
and released using kv_close_store().