I
Iñaki Baz Castillo
El Martes, 1 de Julio de 2008, Charles Oliver Nutter escribi=C3=B3:
Now I'm doing a server in Ruby using green threads (Ruby MRI).
In the future it's possible I try to migrate it to JRuby to use real thread=
s.
Just a question: Will my code and for now green threads work correctly und=
er=20
JRuby and green threads will become OS threads magically? or must I change =
my=20
code to work with OS threads?
Thanks for any explanation.
=2D-=20
I=C3=B1aki Baz Castillo
This is an eventual goal, but I asked ko1 about it and such work has not
started yet. It will be hard.
Processes are probably better under Ruby, but it's most definitely worth
trying threads under JRuby first.
Now I'm doing a server in Ruby using green threads (Ruby MRI).
In the future it's possible I try to migrate it to JRuby to use real thread=
s.
Just a question: Will my code and for now green threads work correctly und=
er=20
JRuby and green threads will become OS threads magically? or must I change =
my=20
code to work with OS threads?
Thanks for any explanation.
=2D-=20
I=C3=B1aki Baz Castillo