Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220893

Summary: dev-lang/ruby-1.8.6 - add USE flag to set --enable-threading
Product: Gentoo Linux Reporter: Balint Dobai-Pataky <dpblnt>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Balint Dobai-Pataky 2008-05-08 10:35:12 UTC
there is an --enable-threading configure parameter for ruby, which is not the --enable-pthread
according to http://objectmix.com/ruby/331572-native-threads-ruby.html
--enable-threading should eable native thread mode
i'd like to be able to be able to build ruby with --enable-threading --disable-pthread

thanks


Reproducible: Always
Comment 1 Daniel Anderson 2008-10-22 05:36:06 UTC
The only reference I found to that parameter is that discussion (including a grep through the Ruby source package).  I admit that I haven't done much multithreaded programming, but isn't pthreads as native as you'll get?  From what I understand, the Linux version of pthreads is NPTL included with glibc and that's the "native" threading system.
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-04-04 19:11:37 UTC
We now have Ruby 1.9.1 which uses native threads. Please use this if you need them.