summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-01 14:11:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-01 14:11:45 -0400
commit8854f5ca29b73f20357c1afeade46e63798923a0 (patch)
tree24e4859334832a0837da629794fc309da587bcc6 /indra/llcommon/llcoros.cpp
parent1a3fa64ecc3d88f42fb7abb99f854db0a4784b8b (diff)
parent6f6c8fa5ff6619b123f368d9137c11ed679a5349 (diff)
Automated merge with ssh://bitbucket.org/nat_linden/viewer-mac-mainloop
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 d16bf0160b..290abbf45c 100644
--- a/indra/llcommon/llcoros.cpp
+++ b/indra/llcommon/llcoros.cpp
@@ -100,7 +100,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(