diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-06-28 18:27:39 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-06-28 18:27:39 -0400 |
commit | 6f6c8fa5ff6619b123f368d9137c11ed679a5349 (patch) | |
tree | 8c2b5e56218326ec162d35cffc0b9549f34e9a8b /indra/llcommon/llcoros.cpp | |
parent | 8fe3a06c1d48fb0ed65a1bc9acab96ac500dab00 (diff) |
DRTVWR-418: Double coroutine stack size for 64-bit builds
on the advice of NickyD.
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( |