include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-thread.h
CommitLineData
1c196845
MJ
1// SPDX-FileCopyrightText: 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2//
3// SPDX-License-Identifier: MIT
14e0a135
MD
4
5#ifndef _LTTNG_UST_THREAD_H
6#define _LTTNG_UST_THREAD_H
7
8#include <signal.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/*
15 * Initialize this thread's LTTng-UST data structures. There is
16 * typically no need to call this, because LTTng-UST initializes its
17 * per-thread data structures lazily, but it should be called explicitly
18 * upon creation of each thread before signal handlers nesting over
19 * those threads use LTTng-UST tracepoints.
20 */
21void lttng_ust_init_thread(void);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* _LTTNG_UST_THREAD_H */
This page took 0.027663 seconds and 4 git commands to generate.