Main Page   File List  

lock.h File Reference

Simple lock implementation. More...

Go to the source code of this file.

Typedefs

typedef l4_uint32_t l4util_simple_lock_t

Functions

int l4_simple_try_lock (l4util_simple_lock_t *lock)
void l4_simple_unlock (l4util_simple_lock_t *lock)
int l4_simple_lock_locked (l4util_simple_lock_t *lock)
void l4_simple_lock_solid (register l4util_simple_lock_t *p)
void l4_simple_lock (l4util_simple_lock_t *lock)


Detailed Description

Simple lock implementation.

Does only work if all thread have the same priority!

Date:
02/1997
Author:
Michael Hohmuth <hohmuth@os.inf.tu-dresden.de>

Definition in file lock.h.


L4 Utilities, part of DROPS  © 2000-2003