Browse Source

tdb2: extend start of hash locks.

This gives us more locks for future use, plus allows a clear-if-first-style
hack to be implemented.
Rusty Russell 15 years ago
parent
commit
b8903ca2ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/tdb2/private.h

+ 1 - 1
ccan/tdb2/private.h

@@ -89,7 +89,7 @@ typedef int tdb_bool_err;
 /* Expanding file. */
 #define TDB_EXPANSION_LOCK 2
 /* Hash chain locks. */
-#define TDB_HASH_LOCK_START 3
+#define TDB_HASH_LOCK_START 64
 
 /* Range for hash locks. */
 #define TDB_HASH_LOCK_RANGE_BITS 30