futex Struct Reference
[Synchronization]


Data Fields

__address paddr
waitq_t wq
link_t ht_link
count_t refcount

Detailed Description

Kernel-side futex structure.

Definition at line 45 of file futex.h.


Field Documentation

link_t ht_link
 

Futex hash table link.

Definition at line 48 of file futex.h.

Referenced by futex_find(), and futex_initialize().

__address paddr
 

Physical address of the status variable.

Definition at line 46 of file futex.h.

Referenced by futex_find(), futex_ht_compare(), and futex_initialize().

count_t refcount
 

Number of tasks that reference this futex.

Definition at line 49 of file futex.h.

Referenced by futex_find(), and futex_initialize().

waitq_t wq
 

Wait queue for threads waiting for futex availability.

Definition at line 47 of file futex.h.

Referenced by futex_initialize(), sys_futex_sleep_timeout(), and sys_futex_wakeup().


Generated on Sun Jun 18 17:20:42 2006 for HelenOS Kernel (ppc32) by  doxygen 1.4.6