common: uuid: add `uuid_to_str` which returns an std::string
[lttng-tools.git] / src / common / thread.hpp
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
c9e313bc 11#include <common/macros.hpp>
cb8d0d24
MJ
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 */
cb8d0d24
MJ
18int lttng_thread_setname(const char *name);
19
20#endif /* LTTNG_THREAD_H */
This page took 0.037783 seconds and 4 git commands to generate.