MAINT-2724: Make viewer explicitly set coroutine stack size.
Introduce LLCoros::setStackSize(), with a compile-time default value we hope we never have to use. Make LLAppViewer call it with the value of the new settings variable CoroutineStackSize as soon as we've read settings files. (While we're at it, notify interested parties that we've read settings files.) Give CoroutineStackSize a default value four times the previous default stack size. Make LLCoros::launch() pass the saved stack size to each new coroutine instance. Re-enable lleventcoro integration test. Use LLSDMap() construct rather than LLSD::insert(), which used to return the modified object but is now void.
Showing
- indra/llcommon/CMakeLists.txt 1 addition, 0 deletionsindra/llcommon/CMakeLists.txt
- indra/llcommon/llcoros.cpp 12 additions, 1 deletionindra/llcommon/llcoros.cpp
- indra/llcommon/llcoros.h 5 additions, 1 deletionindra/llcommon/llcoros.h
- indra/llcommon/tests/lleventcoro_test.cpp 26 additions, 11 deletionsindra/llcommon/tests/lleventcoro_test.cpp
- indra/newview/app_settings/settings.xml 11 additions, 0 deletionsindra/newview/app_settings/settings.xml
- indra/newview/llappviewer.cpp 12 additions, 0 deletionsindra/newview/llappviewer.cpp
Loading
Please register or sign in to comment