ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/Makefile.PL
(Generate patch)

Comparing Coro/Coro/Makefile.PL (file contents):
Revision 1.38 by root, Mon Dec 12 20:37:28 2005 UTC vs.
Revision 1.39 by root, Mon Dec 12 20:49:08 2005 UTC

142 142
143A setting of 16384 (the default) therefore corresponds to a 64k..128k 143A setting of 16384 (the default) therefore corresponds to a 64k..128k
144stack, which usually is ample enough space (you might want to try 8192 or 144stack, which usually is ample enough space (you might want to try 8192 or
145lower if your program creates many coroutines). 145lower if your program creates many coroutines).
146 146
147Some perls (mostly threaded ones) may need much, much more: If Coro 147Some perls (mostly threaded ones) and some programs (inefficient regexes
148can use a lot of stack space) may need much, much more: If Coro segfaults
148segfaults with weird backtraces (e.g. in a function prologue) or in 149with weird backtraces (e.g. in a function prologue) or in t/10_bugs.t, you
149t/10_bugs.t, you might want to increase this to 65536 or more (debian 150might want to increase this to 65536 or more (debian perls might require
150perls might require this). 151this).
151 152
152EOF 153EOF
153 154
154my $stacksize = prompt ("C stack size factor", "16384"); 155my $stacksize = prompt ("C stack size factor", "16384");
155$DEFINE .= " -DSTACKSIZE=$stacksize"; 156$DEFINE .= " -DSTACKSIZE=$stacksize";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines