Description
PCC is the originator of all process creator objects in the EROS system. It is one of the few "primordial" processes, in that it does not originate with a factory. PCC is discrete. PCC does not run under a high performance real-time scheduling authority. PCC cannot be destroyed.
Operations
- Check Alleged Key Type (OC = KT)
Returns the alleged type of the object.
| Reply | R1 | AKT_PCC: Key is a process creator creator key. |
- Create a Process Creator (OC = 1)
Creates a new process creator with a new brander, guaranteed to be unique. This invocation is prompt if the passed space bank is prompt.
| Request | SK0 | A key to an official space bank. |
| SK1 | The schedule under which the produced process creator should run. |
| Reply | RK0 | A start key to the new process creator if the operation succeeded, else a void key. |
| Results | RC_OK | The operation was successful. RK0 is the only start key to the new process creator. RK0 conveys destroy rights. |
| 1 | SK0 is not an official space bank. No action was taken. |
| 2 | The required space could not be allocated. All allocate space has been returned to the space bank. |
- Identify a Process Creator (OC = 2)
Given a start key, indicates whether the key is a start key to a process creator and whether that key has destroy rights.
| Request | SK0 | A key that may name a process creator. |
| Results | RC_OK | SK0 is a process creator key conveying destroy rights. |
| 1 | SK0 is a process creator key without destroy rights. |
| -1 | SK0 is not a process creator key. |