Ver Fonte

Fix for issue #118 (thanks @Kelp404!)

ccgus há 13 anos atrás
pai
commit
f68c006232
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {