Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 22:39:28 +0900
From:      MANTANI Nobutaka <nobutaka@freebsd.org>
To:        "Jeremy Messenger" <mezz7@cox.net>
Cc:        Makoto Matsushita <matusita@jp.freebsd.org>, ports@freebsd.org, pav@freebsd.org, MANTANI Nobutaka <nobutaka@freebsd.org>
Subject:   Re: Ruby oddity (pthreads)
Message-ID:  <863bgyspgv.wl%nobutaka@nobutaka.org>
In-Reply-To: <op.s613w6di9aq2h7@mezz.mezzweb.com>
References:  <20060313.004512.55510725.rushani@FreeBSD.org> <441452E7.3010809@jp.FreeBSD.org> <1142182986.64145.8.camel@ikaros.oook.cz> <4414581B.1070800@jp.FreeBSD.org> <op.s6bbkbng9aq2h7@mezz.mezzweb.com> <86fylaijw5.wl%nobutaka@nobutaka.org> <op.s613w6di9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 26 Mar 2006 23:23:20 -0600,
Jeremy Messenger wrote:
> 
> On Wed, 22 Mar 2006 09:22:50 -0600, MANTANI Nobutaka  
> <nobutaka@freebsd.org> wrote:
> >
> > I second this. Pthread support of ruby-1.8.4 is still incomplete. Pthread
> > functions are only used for implementing thread timer for ruby threads.
> > Therefore I don't see any benefit from enabling pthread support.
> > And I think that thread stack expantion hack like HUGE_STACK_SIZE option
> > in lang/python port is required if we use pthreaded ruby.
> >
> > So I'm going to commit the patch mentioned above and remove  
> > lang/ruby18-nopthread port.
> > The patch is available from  
> > http://people.freebsd.org/~nobutaka/ruby-ports-20060321.diff.
> > Are there any objections?
> 
> No object by me by my glace, but you might want to ask Pav for how to test  
> it with ruby-tk. Pav said that he has to enable pthread to make ruby-tk  
> works. However, it might be good idea to add a comment of warning under  
> WITH_PTHREAD about that it might break a few of ruby apps.

Thanks. I modified the patch according to your advice and committed it.


--
MANTANI Nobutaka
nobutaka@nobutaka.org, nobutaka@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863bgyspgv.wl%nobutaka>