除了Erlang之外,还有哪些其他系统是基于“绿色过程”? [英] What other systems beside Erlang are based on "Green Processes"?

查看:152
本文介绍了除了Erlang之外,还有哪些其他系统是基于“绿色过程”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读有关 Green Thread(Wikipedia)的信息页面,我想知道什么其他编程系统依赖于Erlang旁边的绿色过程?

I was reading this informative page on Green Thread (Wikipedia) and I wonder: what other programming systems rely on "green processes" beside Erlang?

编辑:绿色线程!=


  • Erlang

  • 地狱


  • Go


  • C,C ++

更新:没有人直接回答问题,所以我接受了一个提供的答案我有更多关于绿色过程的信息。

Updated: Nobody answered the question directly and so I have accepted an answer that provided me with more information with regards to Green Processes in general.

推荐答案

关于整个绿色线程作为一个名字,请参阅对这篇文章的评论

Regarding the whole "green thread" as a name, see comments on this post:


更重要的是,我很惊讶地看到你使用Java营地的术语,而不是像用户空间协作线程这样的术语。好的人Peter van der Linden解释了这个术语的起源:

More seriously, I'm surprised to see you using a term from the Java camp, instead of something less jargony like "user-space cooperative threading"; nice guy Peter van der Linden explains the origin of the term:

当Java 1.0首次在Solaris上出现时,它没有使用本机Solaris库libthread.so来支持线程。相反,它使用Java编写的运行时线程支持,用于较早的代号为Green的项目。那个线程库被称为绿线程。

When Java 1.0 first came out on Solaris, it did not use the native Solaris library libthread.so to support threads. Instead it used runtime thread support that had been written in Java for an earlier project code-named "Green." That thread library came to be known as "green threads."

我希望我们可以使用操作系统的术语,例如用户空间与内核调度线程。毕竟,这是一个操作系统级别的区别。名字绿线只是Java历史。

I wish we could use the terminology from operating systems instead, e.g. user-space vs kernel scheduling of threads. After all, it is an operating system level distinction. The name "green thread" is only Java history.

这篇关于除了Erlang之外,还有哪些其他系统是基于“绿色过程”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆