diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-14 00:16:10 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-14 00:16:10 -0400 |
commit | efcea3a80da7c4479d5fe168435ecc9fd06bdc72 (patch) | |
tree | 5cb0177e17b1b00a177f2e830e809f606334571b /doc/reference/mutex.adoc | |
download | sqlite-kv-bench-efcea3a80da7c4479d5fe168435ecc9fd06bdc72.tar.gz |
Squashed 'subprojects/boost-sqlite/' content from commit 3378e35
git-subtree-dir: subprojects/boost-sqlite
git-subtree-split: 3378e353705271e569cf4ba15c467b840a39798c
Diffstat (limited to 'doc/reference/mutex.adoc')
-rw-r--r-- | doc/reference/mutex.adoc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/reference/mutex.adoc b/doc/reference/mutex.adoc new file mode 100644 index 0000000..d0493d6 --- /dev/null +++ b/doc/reference/mutex.adoc @@ -0,0 +1,16 @@ +== `sqlite/mutex.hpp` + +The mutex header provides to std::mutex compatible classes using the sqlite mutex implementation. + +This will allow C++ code to use mutex code matching the configuration of sqlite. +This may include the mutex being a noop. + +[source,cpp,subs=+quotes] +---- +// similar to std::mutex +struct mutex; +// similar to std::recursive_mutexx +struct recursive_mutex; +---- + + |