other versions
QUEUE_ME(9) | Futex API reference | QUEUE_ME(9) |
NAME¶
queue_me - Enqueue the futex_q on the futex_hash_bucketSYNOPSIS¶
void queue_me(struct futex_q * q, struct futex_hash_bucket * hb);
ARGUMENTS¶
struct futex_q * qThe futex_q to enqueue
struct futex_hash_bucket * hb
The destination hash bucket
DESCRIPTION¶
The hb->lock must be held by the caller, and is released here. A call to queue_me is typically paired with exactly one call to unqueue_me. The exceptions involve the PI related operations, which may use unqueue_me_pi or nothing if the unqueue is done as part of the wake process and the unqueue state is implicit in the state of woken task (see futex_wait_requeue_pi for an example).AUTHOR¶
Rusty Russell <rusty@rustcorp.com.au>Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |