]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/test/lock-tracking.h
tdb: add test for tdb_summary
[ccan] / ccan / tdb / test / lock-tracking.h
index 702fdf83e90592a295e1d3655952258fa22959a6..f2c9c44653ba47a1e36605b46e037b6bc87fc1bb 100644 (file)
@@ -16,4 +16,10 @@ extern int locking_errors;
 
 /* Suppress lock checking. */
 extern bool suppress_lockcheck;
+
+/* Make all locks non-blocking. */
+extern bool nonblocking_locks;
+
+/* Number of times we failed a lock because we made it non-blocking. */
+extern int locking_would_block;
 #endif /* LOCK_TRACKING_H */