dcsimg
What is the difference between "Green Threads" and "Native Threads" ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   neelapareddy_padmakar
Posted On:   Tuesday, March 27, 2001 12:42 AM

Re: What is the difference between "Green Threads" and "Native Threads" ?

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, May 1, 2001 10:21 AM

Hi,

A widely used definition is that "Green Threads" are the default threads that are provided in the JDK, while the "Native Threads" are the one provided by the native Operating System.


Normally "Native Threads" provide better performance bacause are controlled by the kernel of the system, allowing the JVM to better use the resources offered by the system itself.


For example, in a multiprocessor system "Green Threads" will never be able to use Solaris or Linux or Windows specified kernel calls to optimize the use of the processors.
About | Sitemap | Contact