common: Add index allocator for error counters
[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 LTTNG_HIDDEN
19 int lttng_thread_setname(const char *name);
20
21 #endif /* LTTNG_THREAD_H */
This page took 0.029088 seconds and 4 git commands to generate.