A spinlock.  
 More...
A spinlock. 
- Warning
 - Spinlocks should be avoided. They will burn away the battery needlessly, and may not work because RIOT is tickless. Use irq_disable() and irq_restore() for shortterm locks instead. 
 
Definition at line 35 of file pthread_spin.h.
 
#include <pthread_spin.h>
 | 
| 
atomic_flag  | flag | 
|   | Current lock state. 
  | 
|   | 
The documentation for this struct was generated from the following file: