X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=config.h;h=c276bd03ce00715233a5be9dc6792e81d00aef47;hp=43c044278eac3350d507309f86a9b05582308ca8;hb=06bee25f85e35dec1db4247dadde23037b8ec67b;hpb=995962127d29a128fa2de578f47953308600b605 diff --git a/config.h b/config.h index 43c04427..c276bd03 100644 --- a/config.h +++ b/config.h @@ -43,6 +43,8 @@ /** Page size configuration */ #define PAGESIZE 4096 +#define TLS 1 + /** Thread parameters */ /* Size of stack to allocate for a thread. */ @@ -54,4 +56,7 @@ /** Enable debugging assertions (via ASSERT()) */ #define CONFIG_ASSERT +/** Enable mitigations against fork handlers that call into locks... */ +#define FORK_HANDLER_HACK + #endif