由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 有趣的Thread问题
相关主题
Java interview Question(31-50)关于 BufferedReader 问题
问各位大牛一个java time scheduler问题可以多个线程同时读一个文件吗
[转载] linux下的java sound问题JTextArea行间距如何设定?
一个socket相关的问题read from multiple inputstreams at the same time?
Why My Java Program Is So Slow?新手问一个多线程的问题
弱人再问一个关于Java的问题如何让Swing对象即使更新?
问个系统问题 (转载)Windows 下 Java console application 的问题
新手问题。求教一个Java问题 IllegalMonitorStateException
相关话题的讨论汇总
话题: buffer话题: runs话题: mars话题: priority话题: scheduling
进入Java版参与讨论
1 (共1页)
g****y
发帖数: 323
1
想不到Mars计划就是因为这个BUG.
Importance of Understanding Scheduling
Consider a system which uses preemptive scheduling with the
following four threads:
MD runs infrequently for a short time with a low priority.
It writes to a shared memory buffer as follows:
lock buffer
write to buffer
unlock buffer
IB runs frequently for a short time at a high priority. It
removes items from the shared buffer as follows:
lock buffer
read from buffer
unlock buffer
CT runs at a medium priority, is long running and does no
t****s
发帖数: 141
2
我最近的course project正好就是研究这样的案例,并且找到了一份
内部人员写的信,包含了全部的细节:
> Date: Monday, December 15, 1997 10:28 AM
> From: Glenn E Reeves
> Subject: Re: [Fwd: FW: What really happened on Mars?]
>
> What really happened on Mars ?
>
>By now most of you have read Mike's (m*[email protected]) summary of Dave
>Wilner's comments given at the IEEE Real-Time Systems Symposium. I don't
>know Mike and I didn't attend the symposium (though I really wish I had now)
>and I have not talked to D

【在 g****y 的大作中提到】
: 想不到Mars计划就是因为这个BUG.
: Importance of Understanding Scheduling
: Consider a system which uses preemptive scheduling with the
: following four threads:
: MD runs infrequently for a short time with a low priority.
: It writes to a shared memory buffer as follows:
: lock buffer
: write to buffer
: unlock buffer
: IB runs frequently for a short time at a high priority. It

1 (共1页)
进入Java版参与讨论
相关主题
求教一个Java问题 IllegalMonitorStateExceptionWhy My Java Program Is So Slow?
Java支持placement new吗?弱人再问一个关于Java的问题
netflix的用hdtv看它的电影,如果1000用户同时登录看同一个影片,怎么处理的?问个系统问题 (转载)
强制Swing绘制Panel的一个问题新手问题。
Java interview Question(31-50)关于 BufferedReader 问题
问各位大牛一个java time scheduler问题可以多个线程同时读一个文件吗
[转载] linux下的java sound问题JTextArea行间距如何设定?
一个socket相关的问题read from multiple inputstreams at the same time?
相关话题的讨论汇总
话题: buffer话题: runs话题: mars话题: priority话题: scheduling