Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2479 | Rev 2541 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | 34 | ||
| 35 | #include <futex.h> |
35 | #include <futex.h> |
| 36 | #include <atomic.h> |
36 | #include <atomic.h> |
| 37 | #include <libc.h> |
37 | #include <libc.h> |
| 38 | #include <stdio.h> |
38 | #include <stdio.h> |
| 39 | #include <types.h> |
39 | #include <sys/types.h> |
| 40 | #include <kernel/synch/synch.h> |
40 | #include <kernel/synch/synch.h> |
| 41 | 41 | ||
| 42 | /* |
42 | /* |
| 43 | * Note about race conditions. |
43 | * Note about race conditions. |
| 44 | * Because of non-atomic nature of operations performed sequentially on the futex |
44 | * Because of non-atomic nature of operations performed sequentially on the futex |