Embedded Xinu Network Playground COSC3300Fall2012
|
Functions | |
syscall | send (int, message) |
message | receive (void) |
message | recvclr (void) |
message | recvtime (int) |
message receive | ( | void | ) |
receive - wait for a message and return it
message recvclr | ( | void | ) |
Clear messages, return waiting message (if any)
message recvtime | ( | int | maxwait | ) |
wait to receive a message or timeout and return result
maxwait | ticks to wait before timeout |
syscall send | ( | int | pid, |
message | msg | ||
) |
Send a message to another thread.
pid | proc id of recipient |
msg | contents of message |