diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-07-01 14:11:45 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-07-01 14:11:45 -0400 |
commit | 8854f5ca29b73f20357c1afeade46e63798923a0 (patch) | |
tree | 24e4859334832a0837da629794fc309da587bcc6 /indra/llcommon/llcoros.cpp | |
parent | 1a3fa64ecc3d88f42fb7abb99f854db0a4784b8b (diff) | |
parent | 6f6c8fa5ff6619b123f368d9137c11ed679a5349 (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.cpp | 4 |
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( |