spinlock.h File Reference

Include dependency graph for spinlock.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  spinlock

Defines

#define SPINLOCK_DECLARE(slname)   spinlock_t slname
#define SPINLOCK_INITIALIZE(slname)
#define spinlock_lock(x)   atomic_lock_arch(&(x)->val)

Functions

void spinlock_initialize (spinlock_t *sl, char *name)
int spinlock_trylock (spinlock_t *sl)
void spinlock_lock_debug (spinlock_t *sl)
static void spinlock_unlock (spinlock_t *sl)


Detailed Description

Definition in file spinlock.h.


Generated on Sun Jun 18 17:29:23 2006 for HelenOS Kernel (ppc64) by  doxygen 1.4.6