CS452 - Real-Time Programming - Spring 2009

Lecture 10 - Create

Practical Detail


Context-Switch Tricks

Barriers

Information in one context that you need in another

Memory Use

Frame pointer

Cache

Easy by itself

Memory management is also easy by itself

Cache and memory management together


Create

We already talked about what you have to do in the kernel

How do we implement the API for user code?

  1. This requires a bit of assembly language.
  2. In assembly language all arguments & return values are words.
  3. What happens when Create is called?
  4. What happens when Create returns?

Inter-task Communication

The Send-Receive-Reply model

What is synchronized?

  1. Synchronized means
  2. End of first phase of Send & return of Receive
  3. Return of Send & return of Reply

Return to: