Skip to content

Commit

Permalink
Changed some wording to clear up confusion with regards to FMDatabase…
Browse files Browse the repository at this point in the history
…Queue
  • Loading branch information
ccgus committed Jan 19, 2013
1 parent edf868b commit c487df4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.markdown
Expand Up @@ -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.

Expand Down

0 comments on commit c487df4

Please sign in to comment.