Ruby oddity (pthreads)

MANTANI Nobutaka nobutaka at freebsd.org
Fri Mar 31 13:39:51 UTC 2006


At Sun, 26 Mar 2006 23:23:20 -0600,
Jeremy Messenger wrote:
> 
> On Wed, 22 Mar 2006 09:22:50 -0600, MANTANI Nobutaka  
> <nobutaka at 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 at nobutaka.org, nobutaka at freebsd.org


More information about the freebsd-ports mailing list