Changeset 7f1c620 in mainline for generic/include/synch/futex.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/synch/futex.h
r991779c5 r7f1c620 27 27 */ 28 28 29 29 /** @addtogroup sync 30 30 * @{ 31 31 */ … … 44 44 /** Kernel-side futex structure. */ 45 45 struct futex { 46 __addresspaddr; /**< Physical address of the status variable. */46 uintptr_t paddr; /**< Physical address of the status variable. */ 47 47 waitq_t wq; /**< Wait queue for threads waiting for futex availability. */ 48 48 link_t ht_link; /**< Futex hash table link. */ … … 51 51 52 52 extern void futex_init(void); 53 extern __native sys_futex_sleep_timeout(__address uaddr, __u32usec, int flags);54 extern __native sys_futex_wakeup(__addressuaddr);53 extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, int flags); 54 extern unative_t sys_futex_wakeup(uintptr_t uaddr); 55 55 56 56 extern void futex_cleanup(void); … … 58 58 #endif 59 59 60 60 /** @} 61 61 */ 62 62
Note:
See TracChangeset
for help on using the changeset viewer.