My configuration
[c11tester.git] / config.h
index ac725c3582c6f05c9d39c7d176b82ddd430c97fa..f86275a725a15344507dfbc46598e28fc95ba339 100644 (file)
--- a/config.h
+++ b/config.h
 #else
 #define BIT48 0
 #endif
-#endif/* BIT48 */
+#endif /* BIT48 */
 
 /** 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. */
 /** Enable debugging assertions (via ASSERT()) */
 #define CONFIG_ASSERT
 
+/** Enable mitigations against fork handlers that call into locks...  */
+#define FORK_HANDLER_HACK
+
+/** Enable smart fuzzer */
+//#define NEWFUZZER
+
+/** Define semantics of volatile memory operations. */
+#define memory_order_volatile_load memory_order_acquire
+#define memory_order_volatile_store memory_order_release
+
+//#define memory_order_volatile_load memory_order_relaxed
+//#define memory_order_volatile_store memory_order_relaxed
+
 #endif