« Return to Thread: JVM green vs. native threads

Re: JVM green vs. native threads

by Jim Baker :: Rate this Message:

Reply to Author | View in Thread

Correct, user level threads in Jython are mapped to/from standard Java threads on the JVM. 

On Fri, Jun 26, 2009 at 11:10 AM, Weiqi Gao <weiqigao@...> wrote:
Sarah Mount wrote:
>
> I read somewhere that now Java supports native a well as green threads
> that users can choose which model is used when the JVM interprets
> their code. Is this the case with Jython, or does it depend on the
> JVM?

Green threads has been deprecated and removed from the Sun JRE a long
time ago.  Threads in Jython are (I believe) translated into Threads in
the JRE, which are in turn mapped to native threads of the underlying
operating system.

--
Weiqi Gao
weiqigao@...
http://www.weiqigao.com/blog/

------------------------------------------------------------------------------
_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users



--
Jim Baker
jbaker@...

------------------------------------------------------------------------------

_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users

 « Return to Thread: JVM green vs. native threads