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

查看:37
本文介绍了除了 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?

编辑:绿色线程!=绿色进程"

  • 二郎
  • 地狱
  • 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 来支持线程.相反,它使用了为早期代号为Green"的项目用 Java 编写的运行时线程支持.该线程库后来被称为绿色线程".

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天全站免登陆