Scroll to navigation

FUTEX_TOP_WAITER(9) Futex API reference FUTEX_TOP_WAITER(9)

NAME

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

struct futex_hash_bucket * hb

the hash bucket the futex_q's reside in

union futex_key * 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@rustcorp.com.au>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11