From 7d74b1d1a6558cb607d73e9315216ccbe441a770 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Sat, 8 Jan 2022 18:51:24 +0100 Subject: [PATCH] Add a few words about Thread Safety. --- docs/Home.md | 1 + docs/Threads.md | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 docs/Threads.md diff --git a/docs/Home.md b/docs/Home.md index f897ccf0..ae6311a9 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -21,5 +21,6 @@ The following pages will tell you how to use it: * [Functions](Functions.md) * [Prepared Statements](Prepared-Statements.md) * [Transactions](Transactions.md) +* [Thread Safety](Threads.md) * [NULL](NULL.md) * [New Features](New-Features.md) diff --git a/docs/Threads.md b/docs/Threads.md new file mode 100644 index 00000000..ca2d5e59 --- /dev/null +++ b/docs/Threads.md @@ -0,0 +1,10 @@ +# Thread Safety + +sqlpp11 aspires to have no influence on thread safety itself, but offers +no particular guarantees (PRs welcome). + +The recommendation therefore is to **not share** connections between threads +and to read about thread safety of the underlying database for more +information. + +