Functions | |
int | receive_event_reply (l4_threadid_t client, l4events_ch_t event_ch, l4events_nr_t event_nr, l4events_event_t event) |
Makes the reply for an receive of an event. | |
int | send_event_reply (l4_uint16_t result, l4_threadid_t client, l4events_nr_t event_nr) |
Makes the reply to the sender after a send call. | |
int | get_ack_reply (l4_threadid_t client, l4_uint8_t res, l4events_ch_t channel_nr, l4events_nr_t event_nr) |
Makes the reply to the sender after a get-ack call. | |
int | send_timeout (l4_threadid_t server) |
This function is used only internally. | |
void | server_loop (void *server_param) |
Makes the main server loop for client handling client requests. |
int receive_event_reply | ( | l4_threadid_t | client, | |
l4events_ch_t | event_ch, | |||
l4events_nr_t | event_nr, | |||
l4events_event_t | event | |||
) |
Makes the reply for an receive of an event.
client | threadid of the client | |
event_ch | channel of the received event | |
event_nr | number of the received event | |
event | received event |
int send_event_reply | ( | l4_uint16_t | result, | |
l4_threadid_t | client, | |||
l4events_nr_t | event_nr | |||
) |
Makes the reply to the sender after a send call.
result | result value from send operation | |
client | threadid of the client | |
event_nr | unique number of this event |
int get_ack_reply | ( | l4_threadid_t | client, | |
l4_uint8_t | res, | |||
l4events_ch_t | channel_nr, | |||
l4events_nr_t | event_nr | |||
) |
Makes the reply to the sender after a get-ack call.
client | threadid of the client | |
res | result value from get-ack call | |
channel_nr | number of the channel | |
event_nr | number of the event |
int send_timeout | ( | l4_threadid_t | server | ) |
This function is used only internally.
threadid | of the client |
void server_loop | ( | void * | server_param | ) |
Makes the main server loop for client handling client requests.