summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-11-29 14:47:09 -0500
committerNat Goodspeed <nat@lindenlab.com>2017-11-29 14:47:09 -0500
commite3a2c5e3217ae74a0277f2e6d4e1e708fe398a1c (patch)
treef912ed486a465f5cc0aee5c73c9cb70c195e8c4d /indra/llcommon/llcoros.cpp
parent1693ccba58eef676df1f91e50627545ac35bb819 (diff)
parentbf98e092e53ed228b3cb50fe816058c5a7817329 (diff)
DRTVWR-418: Merge from latest 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 934f04287d..c5ba23f68c 100644
--- a/indra/llcommon/llcoros.cpp
+++ b/indra/llcommon/llcoros.cpp
@@ -155,7 +155,11 @@ LLCoros::LLCoros():
// Previously we used
// boost::context::guarded_stack_allocator::default_stacksize();
// empirically this is 64KB on Windows and Linux. Try quadrupling.
+#if ADDRESS_SIZE == 64
+ mStackSize(512*1024)
+#else
mStackSize(256*1024)
+#endif
{
// Register our cleanup() method for "mainloop" ticks
LLEventPumps::instance().obtain("mainloop").listen(