Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1460 → Rev 1440

/kernel/trunk/generic/include/synch/futex.h
40,7 → 40,6
__address paddr; /**< Physical address of the status variable. */
waitq_t wq; /**< Wait queue for threads waiting for futex availability. */
link_t ht_link; /**< Futex hash table link. */
count_t refcount; /**< Number of tasks that reference this futex. */
};
 
extern void futex_init(void);
/kernel/trunk/generic/include/proc/task.h
31,7 → 31,6
 
#include <typedefs.h>
#include <synch/spinlock.h>
#include <synch/mutex.h>
#include <adt/btree.h>
#include <adt/list.h>
#include <ipc/ipc.h>
54,13 → 53,6
atomic_t active_calls; /**< Active asynchronous messages */
task_arch_t arch; /**< Architecture specific task data. */
/**
* Serializes access to the B+tree of task's futexes. This mutex is
* independent on the task spinlock.
*/
mutex_t futexes_lock;
btree_t futexes; /**< B+tree of futexes referenced by this task. */
};
 
extern spinlock_t tasks_lock;