KSE, libpthread & libthr: almost newbie question
Lev Serebryakov
lev at FreeBSD.org
Sat Oct 28 10:02:28 UTC 2006
Hello Robert,
Saturday, October 28, 2006, 1:48:52 PM, you wrote:
RW> Does the JVM actually expose thousands of threads to the OS, or does it
RW> actually do its own M:N threading internally based on its execution
RW> model?
RW> My impression is the latter, exposing threads to the OS only when it
RW> needs them to consume kernel or CPU resources.
Wrong. Java used to be N:M ("green threads") a long time ago, and all actual versions (1.4, 1.5, future 1.6) uses 1:1 model.
--
Best regards,
Lev mailto:lev at FreeBSD.org
More information about the freebsd-current
mailing list