From: mquinson Date: Mon, 5 Dec 2005 08:47:09 +0000 (+0000) Subject: Reduce the context stack size from 512k to 128k, and add a comment indicating the... X-Git-Tag: v3.3~3509 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/731a42d3aa2eae8a9656326bfe9c361d6ec25052 Reduce the context stack size from 512k to 128k, and add a comment indicating the meaning of this value. A FAQ entry on this is due git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1849 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/context_private.h b/src/xbt/context_private.h index 269fb1fb28..ad27b8de01 100644 --- a/src/xbt/context_private.h +++ b/src/xbt/context_private.h @@ -32,7 +32,7 @@ typedef int CONTEXT; #ifdef USE_PTHREADS # include #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 {