Introduction   API Reference   Examples   Index  

Init
[L4 Semaphore API]

Library initialization. More...

Functions

L4_CV int l4semaphore_init (void)
 Library initialization.
L4_CV int l4semaphore_set_thread_prio (l4_prio_t prio)
 Set semaphore thread priority.

Detailed Description

Library initialization.


Function Documentation

L4_CV int l4semaphore_init ( void   ) 

Library initialization.

Returns:
0 on success, -1 if setup failed
Setup semaphore thread. This function is usually called during the setup of a task by the environment setup routine, applications do not need to call it explicitly.

L4_CV int l4semaphore_set_thread_prio ( l4_prio_t  prio  ) 

Set semaphore thread priority.

Parameters:
prio Priority
Returns:
0 on success, error code if failed.


L4 Semaphore Reference Manual, written by Lars Reuther  © 2000-2003