1EVENTFD_CTX_REMOVE_W(9) Events based on file descripto EVENTFD_CTX_REMOVE_W(9)
2
3
4

NAME

6       eventfd_ctx_remove_wait_queue - Read the current counter and removes
7       wait queue.
8

SYNOPSIS

10       int eventfd_ctx_remove_wait_queue(struct eventfd_ctx * ctx,
11                                         wait_queue_t * wait, __u64 * cnt);
12

ARGUMENTS

14       ctx
15           [in] Pointer to eventfd context.
16
17       wait
18           [in] Wait queue to be removed.
19
20       cnt
21           [out] Pointer to the 64-bit counter value.
22

DESCRIPTION

24       Returns 0 if successful, or the following error codes:
25
26       -EAGAIN : The operation would have blocked.
27
28       This is used to atomically remove a wait queue entry from the eventfd
29       wait queue head, and read/reset the counter value.
30
32Kernel Hackers Manual 3.10         June 2019           EVENTFD_CTX_REMOVE_W(9)
Impressum