Explorar o código

Changed some wording to clear up confusion with regards to FMDatabaseQueue

August Mueller %!s(int64=13) %!d(string=hai) anos
pai
achega
c487df40e6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      README.markdown

+ 3 - 1
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.