Feature #8270
openRuby should build without thread support (aka minix)
Description
I tried to ./configure ruby on Minix 3.2.1,
The configure failed, because minix does not yet implement threads.
I'd like to suggest that ruby should still build on platforms without threads.
AFAIK the language does not yet require thread support in itself,
but maybe the new GC does require it.
So we might want to look up,
where the dependencies on threading really are.
Updated by headius (Charles Nutter) over 11 years ago
Minix...hard core. I haven't played with that in...20 years?
Perhaps for such a limited system you can just use an older Ruby or mruby (Matz's eMbedded Ruby)?
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
I have never played with it at all.
"does not yet" means there is a plan to implement?
Updated by headius (Charles Nutter) over 11 years ago
nobu (Nobuyoshi Nakada) wrote:
I have never played with it at all.
"does not yet" means there is a plan to implement?
I'd be very surprised if minix ever added threads. Heck, I'm surprised minix is under any sort of development at all.
Updated by ko1 (Koichi Sasada) over 11 years ago
(2013/04/16 4:04), eike.rb (Eike Dierks) wrote:
I'd like to suggest that ruby should still build on platforms without threads.
Should I spend a time for this issue?
It is easy to solve, but not in short time.
I feel it is good chance for students who want to understand OSs and
interpreters.
--
// SASADA Koichi at atdot dot net
Updated by eike.rb (Eike Dierks) over 11 years ago
Thanks to everyone who responded.
Porting to Minix is only a minor target.
I suggested to the minix people that they should implement threads to get that resolved.
But obviously there's a lot of work to do
to really get ruby in the multithreaded world.
Sounds like a task for ruby3.
I already learned that it's quite hard
to get rid of the global lock
for dynamic languages.
Updated by hsbt (Hiroshi SHIBATA) 8 months ago
- Status changed from Open to Assigned