32#ifndef GUARD_SQLITE_THREADING_HPP_INCLUDED
33#define GUARD_SQLITE_THREADING_HPP_INCLUDED
threading_mode current_threading_mode()
Returns the currently configured threading_mode.
threading_mode
Mirrors the sqlite3_config(SQLITE_CONFIG_*) threading options.
@ multi_thread
Connections are thread-safe, but individual database handles are not.
@ single_thread
No internal mutexing; callers must serialize all access.
@ serialized
Full mutexing that allows sharing a connection across threads.
bool configure_threading(threading_mode mode)
Calls sqlite3_config to switch SQLite into the requested threading mode.