summaryrefslogtreecommitdiffstats
path: root/lib/libc/hidden/pthread.h
blob: 2cbd571eb2ac62bfc86835fa8edde7ae0c01e1eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*	$OpenBSD: pthread.h,v 1.5 2018/03/31 22:06:22 guenther Exp $	*/
/*
 * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef _LIBC_PTHREAD_H_
#define	_LIBC_PTHREAD_H_

#include_next <pthread.h>

PROTO_STD_DEPRECATED(pthread_atfork);
PROTO_STD_DEPRECATED(pthread_cond_broadcast);
PROTO_STD_DEPRECATED(pthread_cond_destroy);
PROTO_NORMAL(pthread_cond_init);
PROTO_STD_DEPRECATED(pthread_cond_signal);
PROTO_STD_DEPRECATED(pthread_cond_timedwait);
PROTO_STD_DEPRECATED(pthread_cond_wait);
PROTO_STD_DEPRECATED(pthread_condattr_destroy);
PROTO_STD_DEPRECATED(pthread_condattr_getclock);
PROTO_STD_DEPRECATED(pthread_condattr_init);
PROTO_STD_DEPRECATED(pthread_condattr_setclock);
PROTO_STD_DEPRECATED(pthread_equal);
PROTO_NORMAL(pthread_exit);
PROTO_NORMAL(pthread_getspecific);
PROTO_NORMAL(pthread_key_create);
PROTO_STD_DEPRECATED(pthread_key_delete);
PROTO_NORMAL(pthread_mutex_destroy);
PROTO_NORMAL(pthread_mutex_init);
PROTO_NORMAL(pthread_mutex_lock);
PROTO_STD_DEPRECATED(pthread_mutex_timedlock);
PROTO_STD_DEPRECATED(pthread_mutex_trylock);
PROTO_NORMAL(pthread_mutex_unlock);
PROTO_STD_DEPRECATED(pthread_once);
PROTO_NORMAL(pthread_self);
PROTO_NORMAL(pthread_setspecific);

#endif /* !_LIBC_PTHREAD_H_ */