Go to the source code of this file.
Functions | |
int | dsi_set_sync_thread_prio (int new_prio) |
Set priority of syncronisation threads created in the future. | |
int | dsi_set_select_thread_prio (int new_prio) |
Set priority of the select threads created in the future. | |
int | dsi_set_event_thread_prio (int new_prio) |
Set priority of event thread created in the future. | |
int | dsi_create_sync_thread (dsi_socket_t *socket) |
Create new synchronization thread for socket. | |
int | dsi_shutdown_sync_thread (dsi_socket_t *socket) |
Shutdown synchronization thread. | |
l4_threadid_t | dsi_create_event_thread (l4thread_fn_t fn) |
Start event signalling thread. | |
l4thread_t | dsi_create_select_thread (l4thread_fn_t fn, void *data, int tid, int nr) |
Start a select thread. | |
void | dsi_shutdown_select_thread (l4thread_t thread) |
Shutdown select thread. | |
Variables | |
static int | sync_thread_prio = L4THREAD_DEFAULT_PRIO |
static int | select_thread_prio = L4THREAD_DEFAULT_PRIO |
static int | event_thread_prio = L4THREAD_DEFAULT_PRIO |
Definition in file thread.c.
l4thread_t dsi_create_select_thread | ( | l4thread_fn_t | fn, | |
void * | data, | |||
int | tid, | |||
int | nr | |||
) |
Start a select thread.
fn | Thread function | |
data | Thread data |
L4THREAD_INVALID_ID
if creation failed.Definition at line 246 of file thread.c.
Referenced by dsi_stream_select().
void dsi_shutdown_select_thread | ( | l4thread_t | thread | ) |
Shutdown select thread.
thread | Select thread. |
Definition at line 276 of file thread.c.
Referenced by dsi_stream_select().