Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce the context stack size from 512k to 128k, and add a comment indicating the...
[simgrid.git] / src / xbt / context_private.h
index 269fb1f..ad27b8d 100644 (file)
@@ -32,7 +32,7 @@ typedef int CONTEXT;
 #ifdef USE_PTHREADS
 #  include <pthread.h>
 #else
-#  define STACK_SIZE 524288
+#  define STACK_SIZE 128*1024 /* Lower this if you want to reduce the memory consumption */
 #endif     /* USE_PTHREADS */
 
 typedef struct s_xbt_context {