buffer-view: improve logging on creation failure
[lttng-tools.git] / src / common / thread.h
CommitLineData
cb8d0d24
MJ
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 */
18LTTNG_HIDDEN
19int lttng_thread_setname(const char *name);
20
21#endif /* LTTNG_THREAD_H */
This page took 0.022952 seconds and 4 git commands to generate.