Subversion Repositories HelenOS

Rev

Rev 2787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4692
Line 47... Line 47...
47
    /** Wait queue for threads waiting for futex availability. */
47
    /** Wait queue for threads waiting for futex availability. */
48
    waitq_t wq;
48
    waitq_t wq;
49
    /** Futex hash table link. */
49
    /** Futex hash table link. */
50
    link_t ht_link;
50
    link_t ht_link;
51
    /** Number of tasks that reference this futex. */
51
    /** Number of tasks that reference this futex. */
52
    count_t refcount;
52
    size_t refcount;
53
} futex_t;
53
} futex_t;
54
 
54
 
55
extern void futex_init(void);
55
extern void futex_init(void);
56
extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec,
56
extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec,
57
    int flags);
57
    int flags);