Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) | |
2 | * | |
3 | * wrapper/poll.h | |
4 | * | |
5 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6 | */ | |
7 | ||
8 | #ifndef _LTTNG_WRAPPER_POLL_H | |
9 | #define _LTTNG_WRAPPER_POLL_H | |
10 | ||
11 | #include <linux/poll.h> | |
12 | ||
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 | */ | |
17 | ||
18 | #define poll_wait_set_exclusive(poll_table) | |
19 | ||
20 | #endif /* _LTTNG_WRAPPER_POLL_H */ |