Changeset 80bcaed in mainline for kernel/generic/include/synch/futex.h


Ignore:
Timestamp:
2007-02-03T13:22:24Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f619ec11
Parents:
fa8e7d2
Message:

Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/futex.h

    rfa8e7d2 r80bcaed  
    4343/** Kernel-side futex structure. */
    4444typedef 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;
    4953} futex_t;
    5054
    5155extern void futex_init(void);
    52 extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, int flags);
     56extern unative_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec,
     57    int flags);
    5358extern unative_t sys_futex_wakeup(uintptr_t uaddr);
    5459
Note: See TracChangeset for help on using the changeset viewer.