thread.c File Reference

Thread handling. More...

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


Detailed Description

Thread handling.

Date:
07/09/2000
Author:
Lars Reuther <reuther@os.inf.tu-dresden.de>

Definition in file thread.c.


Function Documentation

l4thread_t dsi_create_select_thread ( l4thread_fn_t  fn,
void *  data,
int  tid,
int  nr 
)

Start a select thread.

Parameters:
fn Thread function
data Thread data
Returns:
Thread id of select thread, L4THREAD_INVALID_ID if creation failed.
The priority of the newly created thread can be set with dsi_set_select_thread_prio() prior to calling this function.

Definition at line 246 of file thread.c.

Referenced by dsi_stream_select().

void dsi_shutdown_select_thread ( l4thread_t  thread  ) 

Shutdown select thread.

Parameters:
thread Select thread.

Definition at line 276 of file thread.c.

Referenced by dsi_stream_select().


Generated on Wed Apr 11 06:40:14 2012 for DSI - Drops Streaming Interface by  doxygen 1.5.6