• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Green Thread and its importance

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CAN ANYONE TELL ME THE THE CONCEPT OF "Green Thread" and its importance. If possible, give me the URL to have a clear idea. Thanx in advance
 
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's wrong with Google "green thread"? The first hits gave exactly what you wanted.
 
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Green threads are those threads which are scheduled by JVM iteself not by operating system.

On windows NT plateform, threads are scheduled by operating system itself, called native scheduling.

whereas, on unix plateform threads are scheduled by green thread scheduling.

On google you can find lots of good link...

Green Threads


Naseem
[ June 20, 2006: Message edited by: Naseem Khan ]
 
Dhanu Dhanu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MANY THANX. NOW AM ABLE TO KNOW THE DIFFERENCE BETN A GREEN THREAD AND A NATIVE THREAD. MANY THANX. TAKE CARE
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Dhanu Dhanu-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it; specifically, a first name and a last name are required. Please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

And please, don't shout at us in all uppercase letters. It's considered quite impolite all over the 'net.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, don't believe everything you read here. The Green threads library is not used by any modern UNIX JVMs; support was largely dropped in JDK 1.4, over 4 years ago.
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Friedman for updating me. Actually I read that in one java thread book.

Thanks & Regards

Naseem
 
reply
    Bookmark Topic Watch Topic
  • New Topic