avatar
有趣的Thread问题# Java - 爪哇娇娃
g*y
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
avatar
t*s
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。