Scala/Erlang use something like greenThread or not ?

Posted by CHAPa on Stack Overflow See other posts from Stack Overflow or by CHAPa
Published on 2010-04-02T13:09:46Z Indexed on 2010/04/02 13:13 UTC
Read the original article Hit count: 368

Hi all,

Im reading a lot about how scala/Erlang does lightweight threads and your concurrency model ( Actor Model ).

Off course, some doubts appear in my head.

Scala/Erlang use a approach similar to the old thread model used by java (greenThread) ?

for example, suppose that there is a machine with 2 cores, so the scala/erlang environment will fork one thread per processor ? The other threads will be scheduled by user-space( scala VM / erlang vm ) environment. is it correct ?

how under the hood that really work ?

thanks a lot.

© Stack Overflow or respective owner

Related posts about scala

Related posts about erlang