aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-04-29 10:43:48 +0200
committerRiccardo Spagni <ric@spagni.net>2016-04-29 10:43:48 +0200
commit5b734c2a3acfc8580cdc2e19942a3d4a043cc830 (patch)
treeab37a04721f4d5c1041b77a480f8b59d5b7d9387 /src/common/util.h
parentMerge pull request #824 (diff)
parentadd a --max-concurrency flag (diff)
downloadmonero-5b734c2a3acfc8580cdc2e19942a3d4a043cc830.tar.xz
Merge pull request #825
513a658 add a --max-concurrency flag (moneromooo-monero)
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index ed1c16cb0..4fcf66b8f 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -160,4 +160,7 @@ namespace tools
};
void set_strict_default_file_permissions(bool strict);
+
+ void set_max_concurrency(unsigned n);
+ unsigned get_max_concurrency();
}