No. | Function | Description |
1. | Sendp(c,ms) | Send the message ms to the channel c; returns the success or error code. |
2. | Getp(c,ms) | Get the message ms from the channel c; returns the success or error code. |
3. | Waitp(L,r) | Wait for the arriving message to the one of the channels from the list L; returns the identifier of the channel. If r = 0 then the message will be deleted else it will be kept. |
4. | Delayp(t) | Delay the AM running on time t. |
5. | Finish | Finish the AM running. |