Commit | Line | Data |
---|---|---|
9f36eaed MJ |
1 | /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) |
2 | * | |
886d51a3 | 3 | * wrapper/poll.h |
17baffe2 | 4 | * |
886d51a3 | 5 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
17baffe2 MD |
6 | */ |
7 | ||
9f36eaed MJ |
8 | #ifndef _LTTNG_WRAPPER_POLL_H |
9 | #define _LTTNG_WRAPPER_POLL_H | |
10 | ||
f3bc08c5 MD |
11 | #include <linux/poll.h> |
12 | ||
22f8d33a MD |
13 | /* |
14 | * Note: poll_wait_set_exclusive() is defined as no-op. Thundering herd | |
15 | * effect can be noticed with large number of consumer threads. | |
16 | */ | |
a33e44a6 MD |
17 | |
18 | #define poll_wait_set_exclusive(poll_table) | |
f3bc08c5 | 19 | |
24cedcfe | 20 | #endif /* _LTTNG_WRAPPER_POLL_H */ |