Feature #8270

Ruby should build without thread support (aka minix)

Added by Eike Dierks about 1 year ago. Updated 11 months ago.

[ruby-core:54287]
Status:Open
Priority:Low
Assignee:Nobuyoshi Nakada
Category:build
Target version:Next Major

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.

History

#1 Updated by Charles Nutter about 1 year 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)?

#2 Updated by Nobuyoshi Nakada about 1 year ago

I have never played with it at all.
"does not yet" means there is a plan to implement?

#3 Updated by Charles Nutter about 1 year 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.

#4 Updated by Koichi Sasada 12 months 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

#5 Updated by Eike Dierks 11 months 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.

Also available in: Atom PDF