From c487df40e62145cbc6d9078bbe208f4ef1db0b4a Mon Sep 17 00:00:00 2001 From: August Mueller Date: Fri, 18 Jan 2013 19:22:16 -0800 Subject: [PATCH] Changed some wording to clear up confusion with regards to FMDatabaseQueue --- README.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index aaf83bbb..f6d01947 100644 --- a/README.markdown +++ b/README.markdown @@ -175,7 +175,9 @@ An easy way to wrap things up in a transaction can be done like this: }]; -FMDatabaseQueue will make a serialized GCD queue in the background and execute the blocks you pass to the GCD queue. This means if you call your FMDatabaseQueue's methods from multiple threads at the same time GCD will execute them in the order they are received. This means queries and updates won't step on each other's toes, and every one is happy. +FMDatabaseQueue will run the blocks on a serialized queue (hence the name of the class). So if you call FMDatabaseQueue's methods from multiple threads at the same time, they will be executed in the order they are received. This way queries and updates won't step on each other's toes, and every one is happy. + +**Note:** The calls to FMDatabaseQueue's methods are blocking. So even though you are passing along blocks, they will **not** be run on another thread. ## Making custom sqlite functions, based on blocks.