首页 > 其他 > 详细

Green Thread

时间:2014-09-14 02:38:06      阅读:288      评论:0      收藏:0      [点我收藏+]

What is Green Thread.

wiki http://en.wikipedia.org/wiki/Green_threads

The Wikipedia article Green Threads explains it very well. 

In a nutshell, Green threads are "user-level threads". They are scheduled by an "ordinary" user-level process, not by the kernel. So they can be used to simulate multi-threading on platforms that don‘t provide that capability.

JVM

Green threads were abandoned in the Sun JVM for Linux as of the release of version 1.3 (see Java[tm] Technology on the Linux Platform). That dates back to 2000.

Erlang VM

Erlang doesn‘t use "Green Threads" but rather something closer to "Green Processes": processes do not share data memory directly but do so by "copying" it (i.e. having independent copies of the source data).


Reference 

http://en.wikipedia.org/wiki/Green_threads

http://stackoverflow.com/questions/1947180/whats-the-difference-between-green-threads-and-erlangs-processes


Green Thread

原文:http://my.oschina.net/u/1767744/blog/313240

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!