Green threads in Java

N

Naresh Agarwal

Hi

I read from some where that Java supports two threading models -
native and green threads.

What are the differences between two and are these supported on all
platforms?

thanks,
Naresh
 
I

Igor L

in green threads model only one operating system thread is used by java
virtual machine for all java threads you use in your programs. in native
threads model, for every thread you create in java you get one separate
operating system thread.

as i know, on windows nt, only native threads exist while on solaris
platform, exist both models. on older JVM on solaris only green threads
model existed.
 
A

Andrew Thompson

| Hi
|
| I read from some where that Java supports two threading
models -
| native and green threads.

Native are when you leave them out in the field,
whereas green are generally grown under lights. ;-)
....
A short 'Google' later.

OK - it looks like something related to early
VM's on Solaris machines. Since the references
I saw related to 1999, I would have to guess
all the information on it is just about redundant.

Get yourself a newer book?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top