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
|
|