2

Closed

STPStartInfo.MaxStackSize

description

I added one more member to STPStartInfo that is nice to have control over in our specific scenario, the Thread MaxStackSize. This is currently the one patch that deviates OpenSim's custom version of SmartThreadPool from the upstream version here.

file attachments

Closed Aug 28, 2012 at 4:58 PM by
Added in STP 2.2.3

comments

jhurliman wrote Sep 12, 2010 at 11:34 PM

Attaching a second version of the patch that works around Mono bug #623477 (https://bugzilla.novell.com/show_bug.cgi?id=623477)

jhurliman wrote Sep 18, 2010 at 4:16 AM

Sorry to be a pest but that previous workaround didn't handle the default case of MaxStackSize not being set, causing a 0 to be passed into the Thread constructor that Mono can't handle. Revised patch attached.

Nullaritorna wrote Jun 21, 2011 at 9:39 AM

Very useful patch! I hope it will be included in an official release!

amibar wrote Aug 28, 2012 at 4:57 PM

Added in STP 2.2.3