1*20876daeSguenther /* $OpenBSD: pthread.h,v 1.5 2018/03/31 22:06:22 guenther Exp $ */ 26897476fSguenther /* 36897476fSguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 46897476fSguenther * 56897476fSguenther * Permission to use, copy, modify, and distribute this software for any 66897476fSguenther * purpose with or without fee is hereby granted, provided that the above 76897476fSguenther * copyright notice and this permission notice appear in all copies. 86897476fSguenther * 96897476fSguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 106897476fSguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 116897476fSguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 126897476fSguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 136897476fSguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 146897476fSguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 156897476fSguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 166897476fSguenther */ 176897476fSguenther 186897476fSguenther #ifndef _LIBC_PTHREAD_H_ 196897476fSguenther #define _LIBC_PTHREAD_H_ 206897476fSguenther 216897476fSguenther #include_next <pthread.h> 226897476fSguenther 23a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_atfork); 24a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_cond_broadcast); 25a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_cond_destroy); 26a5511fa9Sguenther PROTO_NORMAL(pthread_cond_init); 27a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_cond_signal); 28a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_cond_timedwait); 29a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_cond_wait); 30a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_condattr_destroy); 31a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_condattr_getclock); 32a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_condattr_init); 33a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_condattr_setclock); 34*20876daeSguenther PROTO_STD_DEPRECATED(pthread_equal); 35a5511fa9Sguenther PROTO_NORMAL(pthread_exit); 36a5511fa9Sguenther PROTO_NORMAL(pthread_getspecific); 37a5511fa9Sguenther PROTO_NORMAL(pthread_key_create); 38a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_key_delete); 39a5511fa9Sguenther PROTO_NORMAL(pthread_mutex_destroy); 40a5511fa9Sguenther PROTO_NORMAL(pthread_mutex_init); 41a5511fa9Sguenther PROTO_NORMAL(pthread_mutex_lock); 42a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_mutex_timedlock); 43a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_mutex_trylock); 44a5511fa9Sguenther PROTO_NORMAL(pthread_mutex_unlock); 45a5511fa9Sguenther PROTO_STD_DEPRECATED(pthread_once); 46a5511fa9Sguenther PROTO_NORMAL(pthread_self); 47a5511fa9Sguenther PROTO_NORMAL(pthread_setspecific); 486897476fSguenther 496897476fSguenther #endif /* !_LIBC_PTHREAD_H_ */ 50