Changeset 80bcaed in mainline for kernel/generic/include/synch/futex.h
- Timestamp:
- 2007-02-03T13:22:24Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f619ec11
- Parents:
- fa8e7d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/futex.h
rfa8e7d2 r80bcaed 43 43 /** Kernel-side futex structure. */ 44 44 typedef struct { 45 uintptr_t paddr; /**< Physical address of the status variable. */ 46 waitq_t wq; /**< Wait queue for threads waiting for futex availability. */ 47 link_t ht_link; /**< Futex hash table link. */ 48 count_t refcount; /**< Number of tasks that reference this futex. */ 45 /** Physical address of the status variable. */ 46 uintptr_t paddr; 47 /** Wait queue for threads waiting for futex availability. */ 48 waitq_t wq; 49 /** Futex hash table link. */ 50 link_t ht_link; 51 /** Number of tasks that reference this futex. */ 52 count_t refcount; 49 53 } futex_t; 50 54 51 55 extern void futex_init(void); 52 extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, int flags); 56 extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, 57 int flags); 53 58 extern unative_t sys_futex_wakeup(uintptr_t uaddr); 54 59
Note:
See TracChangeset
for help on using the changeset viewer.