File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Threads" Watch "Threads" New topic



Joined: Jan 24, 2000
Posts: 1
Can any explain me what are Green Threads?
Thanx in adv.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Green Threads are an Implementation of the JVM
Where the JVM Implements Threads.
this is usually Used when the OS Does not Support
Threads or the Development of Native Thread was not Complete.
So ...
In Short , the JVM Imulates Threading.
Pawel Veselov
Ranch Hand

Joined: Jan 14, 1999
Posts: 165
Not in all JVMs. There are jdk implementation for AIX SP/SMP
systems, that do support native threads completely.(At least
they claim it is so).
I found there is a sensible time difference when used threads on
AIX some against non-thread program (math calculations, to be exact.)

With best of best regards, Pawel S. Veselov ( aka Black Angel )

With best of best regards, Pawel S. Veselov ( aka Black Angel )
I agree. Here's the link:
subject: Threads
It's not a secret anymore!