Rev 1109 | Rev 1139 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1109 | Rev 1117 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 41 | waitq_t wq; /** Wait queue for threads waiting for futex availability. */ |
41 | waitq_t wq; /** Wait queue for threads waiting for futex availability. */ |
| 42 | link_t ht_link; /** Futex hash table link. */ |
42 | link_t ht_link; /** Futex hash table link. */ |
| 43 | }; |
43 | }; |
| 44 | 44 | ||
| 45 | extern void futex_init(void); |
45 | extern void futex_init(void); |
| 46 | extern __native sys_futex_sleep(__address uaddr); |
46 | extern __native sys_futex_sleep_timeout(__address uaddr, __u32 usec, int trydown); |
| 47 | extern __native sys_futex_wakeup(__address uaddr); |
47 | extern __native sys_futex_wakeup(__address uaddr); |
| 48 | 48 | ||
| 49 | #endif |
49 | #endif |