由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - [转载] 现在还有什么OS不是THREAD级调度的吗?
相关主题
问一个问题ft, SGI Irix JVM problem
java的接口runnable[合集] 请教: A question related to thread communication
Java Multi-threading project for interviews再问一个今天的面试题
JVM freeze线程hardy会一直等待下去么?
多少个thread 就算不正常?怎么可以练习多线程编程呢?
multi-threading guru们 (转载)java multi-threading issue比较tricky
怎么学multithreading/concurrency?大牛能不能简单谈谈multi threading在spring里是长什么样的?
one multi-threading question求问如何学习multithreading
相关话题的讨论汇总
话题: thread话题: os话题: multi话题: java话题: threading
进入Java版参与讨论
1 (共1页)
g**y
发帖数: 983
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: grey (东北汉), 信区: Programming
标 题: 现在还有什么OS不是THREAD级调度的吗?
发信站: The unknown SPACE (Tue Feb 4 14:37:22 2003) WWW-POST
准备用JAVA编应用于MULTIPLE CPU SERVER的应用程序
多THREAD就足够了吧
m******t
发帖数: 2416
2

Why does it matter? If you pragram in Java, you'd be programming against
the threading interface in Java, which is supposed to simulate threads
even if the underlying OS doesn't support it.

【在 g**y 的大作中提到】
: 【 以下文字转载自 Programming 讨论区,原文如下 】
: 发信人: grey (东北汉), 信区: Programming
: 标 题: 现在还有什么OS不是THREAD级调度的吗?
: 发信站: The unknown SPACE (Tue Feb 4 14:37:22 2003) WWW-POST
: 准备用JAVA编应用于MULTIPLE CPU SERVER的应用程序
: 多THREAD就足够了吧

g**y
发帖数: 983
3
那样不能完全利用多CPU

【在 m******t 的大作中提到】
:
: Why does it matter? If you pragram in Java, you'd be programming against
: the threading interface in Java, which is supposed to simulate threads
: even if the underlying OS doesn't support it.

g*****g
发帖数: 34805
4
Then it's not your fault, or you have to write your own JVM.

【在 g**y 的大作中提到】
: 那样不能完全利用多CPU
g**y
发帖数: 983
5
呵呵
所以我就是想知道是不是所有UNIX OS都支持,
WINDOWS是否是真的THREAD调度的我倒不在乎
不然我就得做成多进程的来保证利用多CPU了

against

【在 g*****g 的大作中提到】
: Then it's not your fault, or you have to write your own JVM.
m******t
发帖数: 2416
6

Either I misunderstood you, or you are saying multi-thread doesn't
utilize multi processor, which doesn't sound right to me.

【在 g**y 的大作中提到】
: 呵呵
: 所以我就是想知道是不是所有UNIX OS都支持,
: WINDOWS是否是真的THREAD调度的我倒不在乎
: 不然我就得做成多进程的来保证利用多CPU了
:
: against

g**y
发帖数: 983
7

Yes
这依赖于操作系统和JVM的支持程度

【在 m******t 的大作中提到】
:
: Either I misunderstood you, or you are saying multi-thread doesn't
: utilize multi processor, which doesn't sound right to me.

R*********t
发帖数: 217
8
if you have a multi-processors machine, of course you will download
a JVM whose multi-threading support utilizes underneath multi-processors,
otherwise, what is the point of multi-threading?

【在 g**y 的大作中提到】
:
: Yes
: 这依赖于操作系统和JVM的支持程度

1 (共1页)
进入Java版参与讨论
相关主题
求问如何学习multithreading多少个thread 就算不正常?
Re: Why Swing is not multiple-thread safe?multi-threading guru们 (转载)
Java Http Question?怎么学multithreading/concurrency?
java 程序中的实时控制one multi-threading question
问一个问题ft, SGI Irix JVM problem
java的接口runnable[合集] 请教: A question related to thread communication
Java Multi-threading project for interviews再问一个今天的面试题
JVM freeze线程hardy会一直等待下去么?
相关话题的讨论汇总
话题: thread话题: os话题: multi话题: java话题: threading