Fix: Returned error code in consumer on read buffer
[lttng-tools.git] / src / common / futex.h
CommitLineData
099e26bd
DG
1/*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 * Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 *
d14d33bf
AM
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License, version 2 only,
7 * as published by the Free Software Foundation.
099e26bd 8 *
d14d33bf
AM
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
099e26bd 13 *
d14d33bf
AM
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
099e26bd
DG
17 */
18
19#ifndef _LTT_FUTEX_H
20#define _LTT_FUTEX_H
21
0fdd1e2c 22void futex_wait_update(int32_t *futex, int active);
099e26bd
DG
23void futex_nto1_prepare(int32_t *futex);
24void futex_nto1_wait(int32_t *futex);
25void futex_nto1_wake(int32_t *futex);
26
27#endif /* _LTT_FUTEX_H */
This page took 0.028832 seconds and 4 git commands to generate.