#include "sched_yield.h"Go to the source code of this file.
Defines | |
| #define | SPIN_OPTIMIZE |
| #define | init_lock(l) (l)=0 |
Typedefs | |
| typedef volatile int | fl_lock_t |
Functions | |
| int | tsl (fl_lock_t *lock) |
| void | get_lock (fl_lock_t *lock) |
| int | try_lock (fl_lock_t *lock) |
| void | release_lock (fl_lock_t *lock) |
|
|
Definition at line 78 of file fastlock.h. Referenced by main(). |
|
|
Definition at line 69 of file fastlock.h. |
|
|
Definition at line 74 of file fastlock.h. Referenced by main(). |
|
|
Definition at line 297 of file fastlock.h. References lock, sched_yield, and tsl(). Referenced by main(). |
|
|
Definition at line 330 of file fastlock.h. |
|
|
Definition at line 319 of file fastlock.h. Referenced by main(). |
|
|
Definition at line 151 of file fastlock.h. |
1.3.9.1