SysTutorials

Linux Manual Pages › Section 9

futex_top_waiter(9)

futex_top_waiter – Return the highest priority waiter on a futex

Synopsis

struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);

Arguments

hb

the hash bucket the futex_q’s reside in

key

the futex key (to distinguish it from other futex futex_q’s)

Description

Must be called with the hb lock held.

Author

Rusty Russell <rusty [at] rustcorp.com.au>

Author.

Copyright