Incorporate failed predicates in weights
[c11tester.git] / config.h
index 43c044278eac3350d507309f86a9b05582308ca8..7ed00f092478a56b13870f67ad0902faea9211a7 100644 (file)
--- a/config.h
+++ b/config.h
 
 /** Snapshotting configurables */
 
-/**
- * If USE_MPROTECT_SNAPSHOT=2, then snapshot by tuned mmap() algorithm
- * If USE_MPROTECT_SNAPSHOT=1, then snapshot by using mmap() and mprotect()
- * If USE_MPROTECT_SNAPSHOT=0, then snapshot by using fork() */
-#define USE_MPROTECT_SNAPSHOT 0
-
 /** Size of signal stack */
 #define SIGSTACKSIZE 65536
 
 /** Page size configuration */
 #define PAGESIZE 4096
 
+#define TLS 1
+
 /** Thread parameters */
 
 /* Size of stack to allocate for a thread. */
@@ -54,4 +50,7 @@
 /** Enable debugging assertions (via ASSERT()) */
 #define CONFIG_ASSERT
 
+/** Enable mitigations against fork handlers that call into locks...  */
+#define FORK_HANDLER_HACK
+
 #endif