Main Page   File List  

Low-Level Thread Functions


Functions

L4_CV l4_threadid_t l4util_create_thread (int thread_no, void(*function)(void), void *stack)
 Create an L4 thread.
L4_CV l4_threadid_t l4util_attach_interrupt (int irq)
 Attach to hardware interrupt.
L4_CV void l4util_detach_interrupt (void)
 Detach from hardware interrupt.

Function Documentation

L4_CV l4_threadid_t l4util_create_thread ( int  thread_no,
void(*)(void)  function,
void *  stack 
)

Create an L4 thread.

Note:
You should prefer to use the thread package of the L4 environment.
Parameters:
thread_no number of thread to create
function thread code
stack initial value of stack pointer
Returns:
thread id of created stack

L4_CV l4_threadid_t l4util_attach_interrupt ( int  irq  ) 

Attach to hardware interrupt.

Parameters:
irq number of IRQ to attach to


L4 Utilities, part of DROPS  © 2000-2003