From 8c7bbd937f169596286fffdc027b945b03e43193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 5 Dec 2016 19:19:59 +0100 Subject: [PATCH] Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aaa7cd211..2df32b456 100644 --- a/README.md +++ b/README.md @@ -403,9 +403,9 @@ Database pools allow several threads to access the database at the same time: The total number of concurrent reads is limited. When the maximum number has been reached, a read waits for another read to complete. That maximum number can be [configured](#databasepool-configuration). -- Conversely, writes are serialized. They don't block reads, but GRDB makes sure that `read` closures are guaranteed an immutable view of the last committed state of the database. +- Conversely, writes are serialized. They don't block reads, but GRDB guarantees `read` closures an immutable view of the last committed state of the database. - :point_up: When you need `read` closures to be guaranteed an immutable view of the last executed writing block as a whole, use `writeInTransaction` instead of `write`. + :point_up: To provide `read` closures an immutable view of the last executed writing block as a whole, use `writeInTransaction` instead of `write`. **A database pool needs your application to follow rules in order to deliver its safety guarantees.** Please refer to the [Concurrency](#concurrency) chapter.