X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=config.h;h=891dfd7f7a02dacec02ff339a0ff2bffeaa58fcc;hb=130a35155171503883aaf18e57f8957ce63d06e8;hp=109e8d86097ab55c545705f0059c544bb01b9738;hpb=c80c149893770f4b86b3578a827c6a028985de7f;p=model-checker.git diff --git a/config.h b/config.h index 109e8d8..891dfd7 100644 --- a/config.h +++ b/config.h @@ -9,6 +9,10 @@ /* #ifndef CONFIG_DEBUG #define CONFIG_DEBUG #endif + + #ifndef CONFIG_ASSERT + #define CONFIG_ASSERT + #endif */ /** Turn on support for dumping cyclegraphs as dot files at each @@ -34,7 +38,7 @@ #define USE_MPROTECT_SNAPSHOT 2 /** Size of signal stack */ -#define SIGSTACKSIZE 32768 +#define SIGSTACKSIZE 65536 /** Page size configuration */ #define PAGESIZE 4096 @@ -44,5 +48,10 @@ /* Size of stack to allocate for a thread. */ #define STACK_SIZE (1024 * 1024) +/** How many shadow tables of memory to preallocate for data race detector. */ +#define SHADOWBASETABLES 4 + +/** Enable debugging assertions (via ASSERT()) */ +#define CONFIG_ASSERT #endif