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...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 5 Dec 2005 08:47:09 +0000 (08:47 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 5 Dec 2005 08:47:09 +0000 (08:47 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1849 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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 {