[Mono-dev] Set the stacksize on OpenBSD just like the way that we do for other BSDs too.

Zoltan Varga vargaz at gmail.com
Wed Apr 14 05:52:04 EDT 2010


Commited. Please send patches as attachments.

          Zoltan

On Tue, Apr 13, 2010 at 7:21 PM, Robert Nagy <robert at openbsd.org> wrote:

> 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);
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100414/184aedd8/attachment.html 


More information about the Mono-devel-list mailing list