![]()  | 
  
    Multi-ApplicationOnlineProfiling
    2.1
    
   | 
 
This is a spinlock implementation. More...
Typedefs | |
| typedef volatile unsigned int | MALP_Spinlock | 
| The type of spinlocks in MALP.  More... | |
Functions | |
| int | MALP_Spinlock_lock (MALP_Spinlock *atomic) | 
| Locks the given MALP_Spinlock.  More... | |
| int | MALP_Spinlock_unlock (MALP_Spinlock *atomic) | 
| Unlocks the given MALP_Spinlock.  More... | |
| int | MALP_Spinlock_trylock (MALP_Spinlock *mutex) | 
| Tries to lock the given MALP_Spinlock.  More... | |
This is a spinlock implementation.
| typedef volatile unsigned int MALP_Spinlock | 
The type of spinlocks in MALP.
Definition at line 63 of file Spinlock.h.
| int MALP_Spinlock_lock | ( | MALP_Spinlock * | atomic | ) | 
Locks the given MALP_Spinlock.
| atomic | the MALP_Spinlock to lock | 
Definition at line 29 of file Spinlock.c.

| int MALP_Spinlock_trylock | ( | MALP_Spinlock * | mutex | ) | 
Tries to lock the given MALP_Spinlock.
| mutex | the MALP_Spinlock to lock | 
Definition at line 22 of file Spinlock.c.

| int MALP_Spinlock_unlock | ( | MALP_Spinlock * | atomic | ) | 
Unlocks the given MALP_Spinlock.
| atomic | the MALP_Spinlock to unlock | 
Definition at line 41 of file Spinlock.c.
