Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129489 - perl ithreads USE flag vs global threads flag
Summary: perl ithreads USE flag vs global threads flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 08:39 UTC by Chris Bainbridge (RETIRED)
Modified: 2006-04-10 10:03 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 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-10 08:39:30 UTC
Why doesn't perl use the global USE flag "threads" instead of "ithreads"?
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-04-10 09:13:54 UTC
Because they aren't related for starters. threads in use.desc is generally speaking for pthreads. ithreads is for iterated threads within perl and should only  be used by those who know what they're asking for. A perl capable of running in threaded (ithreads that is) mode is in no way guaranteed to link or work with software that usually supports perl. However, blead edge aside, there are folks that use gentoo that use perl that require/need the ithreaded layer for their work. Hence the flag (and why its not enabled by default).
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-10 10:03:03 UTC
Thanks for the explanation! use.desc describes the global threads flag as being "usually pthreads" which leaves room for other options, hence my query. However, I didn't realise perl has multiple options for threading of which ithreads is just one.