unqueue_me(9)

unqueue_me9

Remove the futex_q from its futex_hash_bucket

Usage

int unqueue_me(struct futex_q * q);

Arguments

q

The futex_q to unqueue

Overview

The q->lock_ptr must not be held by the caller. A call to unqueue_me must be paired with exactly one earlier call to queue_me.

Return

1 - if the futex_q was still queued (and we removed unqueued it); 0 - if the futex_q was already removed by the waking thread

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.