Explorar o código

Fix for issue #118 (thanks @Kelp404!)

ccgus %!s(int64=13) %!d(string=hai) anos
pai
achega
f68c006232
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/fmdb.m

+ 1 - 1
src/fmdb.m

@@ -849,7 +849,7 @@ int main (int argc, const char * argv[]) {
         // You should see pairs of numbers show up in stdout for this stuff:
         size_t ops = 16;
         
-        dispatch_queue_t dqueue = dispatch_get_global_queue(0, DISPATCH_QUEUE_PRIORITY_HIGH);
+        dispatch_queue_t dqueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
         
         dispatch_apply(ops, dqueue, ^(size_t nby) {