Functions | |
int | dsi_thread_start_worker (dsi_socket_t *socket, l4_umword_t *ret_code) |
Send start message to work thread and wait for ready-notification. | |
int | dsi_thread_worker_wait (dsi_socket_t **socket) |
Wait until our parent sends the socket. | |
int | dsi_thread_worker_started (int ret_code) |
Send ready-notification to parent thread. |
int dsi_thread_start_worker | ( | dsi_socket_t * | socket, | |
l4_umword_t * | ret_code | |||
) |
Send start message to work thread and wait for ready-notification.
We start the work-thread and wait until it gives an ok..
socket | socket descriptor | |
ret_code | (optional) pointer to the return-code provided by the worker-thread with dsi_thread_worker_started() |
0 | on success | |
-DROPS_EIPC | error sending start IPC |
Definition at line 50 of file convenience.c.
References dsi_socket::work_th.
int dsi_thread_worker_started | ( | int | ret_code | ) |
Send ready-notification to parent thread.
ret_code | code to be send to the parent |
0 | on success | |
-DROPS_EIPC | error sending start IPC |
Definition at line 110 of file convenience.c.
int dsi_thread_worker_wait | ( | dsi_socket_t ** | socket | ) |
Wait until our parent sends the socket.
socket | will be filled with the socket descriptor |
0 | on success, IPC-error otherwise |
Definition at line 84 of file convenience.c.