queue_me(9)

queue_me9

Enqueue the futex_q on the futex_hash_bucket

Usage

void queue_me(struct futex_q * q, struct futex_hash_bucket * hb);

Arguments

q

The futex_q to enqueue

hb

The destination hash bucket

Overview

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).

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

Rusty Russell <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.