From b9e1f4604ea6d7d38fbe4552d94cd667a49a7c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 30 Oct 2021 23:19:15 +0200 Subject: [PATCH] Concurrency Guide: fix wordings --- Documentation/Concurrency.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Concurrency.md b/Documentation/Concurrency.md index e15886089..1c057a861 100644 --- a/Documentation/Concurrency.md +++ b/Documentation/Concurrency.md @@ -237,7 +237,7 @@ dbQueue.asyncWrite({ (db: Database) -> Int in ## Safe and Unsafe Database Accesses -**You will generally use safe database access methods such as `read` and `write`.** In this context, "safe" means that a database access is concurrency-friendly, because it provides the following guarantees: +**You will generally use the safe database access methods `read` and `write`.** In this context, "safe" means that a database access is concurrency-friendly, because it provides the following guarantees: - **[Serialized Writes]** - All writes performed by one [DatabaseQueue] or [DatabasePool] instance are serialized. *Why is it important?* - this guarantee prevents [SQLITE_BUSY] errors during concurrent writes. - **[Write Transactions]** - All writes are wrapped in a transaction. *Why is it important?* - concurrent reads can not see partial database updates (even reads performed by other processes).