|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
JVM green vs. native threadsHi all,
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? Thanks, Sarah -- Sarah Mount, Senior Lecturer, University of Wolverhampton Web: http://www.wlv.ac.uk/~in0316/ Book: http://www.pythonforrookies.org/ WSN: http://www.fieldsensing.org.uk/ Photos: http://flickr.com/photos/sarahmount/ This email, together with any attachment, is for the exclusive and confidential use of the addressee(s) and may contain legally privileged information. Any use, disclosure or reproduction without the sender's explicit consent is unauthorised and may be unlawful. Any e-mail including its content and any attachments may be monitored and used by The University of Wolverhampton for reasons of security and for monitoring internal compliance with the University's policy on internet use. E-mail blocking software may also be used. The University cannot guarantee that this message or any attachment is virus free or has not been intercepted and amended. If you believe you have received this message in error please notify the sender by email, telephone or fax and destroy the message and any copies. ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: JVM green vs. native threadsSarah 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 |
|
|
Re: JVM green vs. native threadsCorrect, 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:
-- Jim Baker jbaker@... ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
| Free embeddable forum powered by Nabble | Forum Help |