92a8446746265daf53066e6bde370deea699a262
[lttng-tools.git] / src / common / futex.h
1 /*
2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 *
7 */
8
9 #ifndef _LTT_FUTEX_H
10 #define _LTT_FUTEX_H
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 void futex_wait_update(int32_t *futex, int active);
17 void futex_nto1_prepare(int32_t *futex);
18 void futex_nto1_wait(int32_t *futex);
19 void futex_nto1_wake(int32_t *futex);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif /* _LTT_FUTEX_H */
This page took 0.029129 seconds and 3 git commands to generate.