Re: threads demystified
From: Bill Tschumy (bill_at_otherwiseDELETE.com)
Date: 02/13/05
- Next message: Tilman Bohn: "Re: [OT] ISO 9000/9001 certification"
- Previous message: kjc: "Re: Should I learn C before Java ?"
- In reply to: Andersen: "Re: threads demystified"
- Next in thread: Cindi: "Re: threads demystified"
- Reply: Cindi: "Re: threads demystified"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 13 Feb 2005 02:29:37 GMT
On Sat, 12 Feb 2005 20:00:57 -0600, Andersen wrote
(in article <420EB4D9.6000208@hotmail.com>):
> One question, are java threads mapped to OS threads, or are they all
> running within one single OS thread?
>
> regards,
> Andersen
>
> Sachin wrote:
>
>> Hi Andersen,
>>
>> Not sure if the following thread helps ...
>>
>> http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/
>> thread/ba0b73e49874fd3a/318178780f039744?q=Max+Java+Threads&_done=%2Fgroups%
>> 3Fhl%3Den%26q%3DMax+Java+Threads%26qt_s%3DSearch+Groups%26&_doneTitle=Back+t
>> o+Search&&d#318178780f039744
>>
>> -Sachin
>>
It is up to the implementation to decide since it is not spelled out in the
specification. On most platforms (Mac OS X, Windows, Linux) they are mapped
to OS-level threads. Early in Java's history, on Solaris they were not. The
Solaris JVM used green threads to implement the Java threading model. Not
sure if they still do that or not.
-- Bill Tschumy Otherwise -- Austin, TX http://www.otherwise.com
- Next message: Tilman Bohn: "Re: [OT] ISO 9000/9001 certification"
- Previous message: kjc: "Re: Should I learn C before Java ?"
- In reply to: Andersen: "Re: threads demystified"
- Next in thread: Cindi: "Re: threads demystified"
- Reply: Cindi: "Re: threads demystified"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|