relayd: do not link lttng-relayd on liblttng-ctl
[lttng-tools.git] / src / common / thread.h
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.h>
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.041841 seconds and 5 git commands to generate.