[Mono-dev] Set the stacksize on OpenBSD just like the way that we do for other BSDs too.
Robert Nagy
robert at openbsd.org
Tue Apr 13 13:21:06 EDT 2010
Please commit to trunk and branch-2-6 too.
Thanks
Index: io-layer/collection.c
===================================================================
--- io-layer/collection.c (revision 155314)
+++ io-layer/collection.c (working copy)
@@ -60,7 +60,7 @@
#ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE
if (set_stacksize == 0) {
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
ret = pthread_attr_setstacksize (&attr, 65536);
#else
ret = pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN);
More information about the Mono-devel-list
mailing list