summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-11-03 09:31:15 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-11-03 09:31:15 -0400
commit6cc4a8dcd2a0a320698312fe4775a946a16575e4 (patch)
tree5e3d27eb2cb1bf77cf1b6cd9d77a52b114160f80 /indra/llcommon/llcoros.cpp
parent086c1342152895da28d2e0130d09432152604ca8 (diff)
parent6d1032730881e1278bc5df0d2c21e19b81ffe3ed (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer-release
Diffstat (limited to 'indra/llcommon/llcoros.cpp')
-rw-r--r--indra/llcommon/llcoros.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llcoros.cpp b/indra/llcommon/llcoros.cpp
index 8e516d8beb..0d9e19f672 100644
--- a/indra/llcommon/llcoros.cpp
+++ b/indra/llcommon/llcoros.cpp
@@ -101,7 +101,11 @@ LLCoros::LLCoros():
// Previously we used
// boost::context::guarded_stack_allocator::default_stacksize();
// empirically this is 64KB on Windows and Linux. Try quadrupling.
+#if WORD_SIZE == 64
+ mStackSize(512*1024)
+#else
mStackSize(256*1024)
+#endif
{
// Register our cleanup() method for "mainloop" ticks
LLEventPumps::instance().obtain("mainloop").listen(