Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAugust Mueller <gus@flyingmeat.com>2017-07-19 08:35:53 +0300
committerAugust Mueller <gus@flyingmeat.com>2017-07-19 08:35:53 +0300
commitf92d183ea0911a6799e1e639b50fa1e64c59fe62 (patch)
treecac23d72b50e710001e32e713b472d0994fef185 /src
parent458031a2ca4593606fb35cd97db53ab6c0746661 (diff)
Button things :(
Diffstat (limited to 'src')
-rw-r--r--src/sample/main.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sample/main.m b/src/sample/main.m
index a10756d..eca86fc 100644
--- a/src/sample/main.m
+++ b/src/sample/main.m
@@ -1390,11 +1390,11 @@ void testPool(NSString *dbPath) {
// if you want to see a deadlock, just uncomment this line and run:
- //#define ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD 1
+#define ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD 1
#ifdef ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD
{
- int ops = 16;
+ size_t ops = 16;
dispatch_queue_t dqueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);