'\" t .\" Title: futex_top_waiter .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Futex API reference .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "FUTEX_TOP_WAITER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Futex API reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" futex_top_waiter \- Return the highest priority waiter on a futex .SH "SYNOPSIS" .HP \w'struct\ futex_q\ *\ futex_top_waiter('u .BI "struct futex_q * futex_top_waiter(struct\ futex_hash_bucket\ *\ " "hb" ", union\ futex_key\ *\ " "key" ");" .SH "ARGUMENTS" .PP \fIhb\fR .RS 4 the hash bucket the futex_q\*(Aqs reside in .RE .PP \fIkey\fR .RS 4 the futex key (to distinguish it from other futex futex_q\*(Aqs) .RE .SH "DESCRIPTION" .PP Must be called with the hb lock held\&. .SH "AUTHOR" .PP \fBRusty Russell\fR <\&rusty@rustcorp.com.au\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br