More fine-grained locks in crypto cache

This commit is contained in:
SChernykh
2022-08-15 18:39:28 +02:00
parent 1438175477
commit 4c8dbee79d
3 changed files with 26 additions and 17 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace p2pool {
static bool track_memory = false;
constexpr size_t N = 1048576;
constexpr size_t N = 2097152;
constexpr size_t MAX_FRAMES = 30;
struct TrackedAllocation