Hi Farshid, On Thu, Mar 11, 2010 at 8:58 PM, Farshid Lashkari <[email protected]> wrote: > I noticed that CMake forces a high stack size by default for all MSVC > projects. This can cause problems for applications that use a lot of > threads. I've added a new option MSVC_USE_DEFAULT_STACK_SIZE that will > remove the explicit stack size and use the default MSVC size. Apparently > this was only necessary for very old versions of MSVC but it's still around. > I would argue that this option should be on by default, but I've left it off > for now.
I've merged the changes as it. I knew nothing about the setting to the stack size by CMake under VS, and don't know anything about this VS issue so can't comment either way on the topic. It would be a good topic to discuss in the wider community to get feedback from other Windows experts as to what the default should be. I believe it would also be useful to find out why CMake set a high stack size, as there must be a reason behind it. Could you strike up a discussion on osg-users on this topic to get feedback from others in the community, testing of svn/trunk with your new MSVC_USE_DEFAULT_STACK_SIZE to ON would be useful - if we are to make it ON by default we'll need to make sure there aren't any breakages because of it. Cheers, Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
