Tests: Add test to check shared-memory FD leaks after relayd dies
[lttng-tools.git] / src / common / thread.hpp
1 /*
2 * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef LTTNG_THREAD_H
9 #define LTTNG_THREAD_H
10
11 #include <common/macros.hpp>
12
13 /*
14 * Set the current thread name on platforms that support it. The name can
15 * be of arbitrary length and will be truncated to the platform limit,
16 * usually 16.
17 */
18 int lttng_thread_setname(const char *name);
19
20 #endif /* LTTNG_THREAD_H */
This page took 0.029035 seconds and 4 git commands to generate.