Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220891 - dev-lang/ruby-1.8.6 - USE=threads should not set --enable-pthread
Summary: dev-lang/ruby-1.8.6 - USE=threads should not set --enable-pthread
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL: http://www.ruby-forum.com/topic/132550
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 10:30 UTC by Balint Dobai-Pataky
Modified: 2009-04-04 19:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balint Dobai-Pataky 2008-05-08 10:30:11 UTC
ruby 1.8.6 uses ruby threads, not native(OS) threads.
the "threads" use flag turns on only --enable-pthread, which is needed only if using tk, according to
http://www.ruby-forum.com/topic/132550
and not using pthreads truly increased the speed ov the ruby vm.
so i think a warning about that should be printed by the ebuild.
thanks

Reproducible: Always
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-04-04 19:11:32 UTC
People enabling the USE flag do it on purpose I think, also this becomes irrelevant with Ruby 1.9.1 anyway, so we won't fix that.