Scala/Erlang use something like greenThread or not ?
- by CHAPa
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.