futex_wait_setup man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

FUTEX_WAIT_SETUP(9)	      Futex API reference	   FUTEX_WAIT_SETUP(9)

NAME
       futex_wait_setup - Prepare to wait on a futex

SYNOPSIS
       int futex_wait_setup(u32 __user * uaddr, u32 val, unsigned int flags,
			    struct futex_q * q,
			    struct futex_hash_bucket ** hb);

ARGUMENTS
       uaddr
	   the futex userspace address

       val
	   the expected value

       flags
	   futex flags (FLAGS_SHARED, etc.)

       q
	   the associated futex_q

       hb
	   storage for hash_bucket pointer to be returned to caller

DESCRIPTION
       Setup the futex_q and locate the hash_bucket. Get the futex value and
       compare it with the expected value. Handle atomic faults internally.
       Return with the hb lock held and a q.key reference on success, and
       unlocked with no q.key reference on failure.

RETURN
       0 - uaddr contains val and hb has been locked; <1 - -EFAULT or
       -EWOULDBLOCK (uaddr does not contain val) and hb is unlocked

AUTHOR
       Rusty Russell <rusty@rustcorp.com.au>
	   Author.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		   FUTEX_WAIT_SETUP(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net