Deleted Added
full compact
pthread.h (54699) pthread.h (54757)
1/*
2 * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
3 * Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 16 unchanged lines hidden (view full) ---

25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
3 * Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 16 unchanged lines hidden (view full) ---

25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $FreeBSD: head/include/pthread.h 54699 1999-12-16 21:53:39Z jasone $
33 * $FreeBSD: head/include/pthread.h 54757 1999-12-18 01:00:42Z jasone $
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

--- 181 unchanged lines hidden (view full) ---

223int pthread_detach __P((pthread_t));
224int pthread_equal __P((pthread_t, pthread_t));
225void pthread_exit __P((void *));
226void *pthread_getspecific __P((pthread_key_t));
227int pthread_join __P((pthread_t, void **));
228int pthread_key_create __P((pthread_key_t *,
229 void (*) (void *)));
230int pthread_key_delete __P((pthread_key_t));
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

--- 181 unchanged lines hidden (view full) ---

223int pthread_detach __P((pthread_t));
224int pthread_equal __P((pthread_t, pthread_t));
225void pthread_exit __P((void *));
226void *pthread_getspecific __P((pthread_key_t));
227int pthread_join __P((pthread_t, void **));
228int pthread_key_create __P((pthread_key_t *,
229 void (*) (void *)));
230int pthread_key_delete __P((pthread_key_t));
231int pthread_kill __P((struct pthread *, int));
231int pthread_kill __P((pthread_t, int));
232int pthread_mutexattr_init __P((pthread_mutexattr_t *));
233int pthread_mutexattr_destroy __P((pthread_mutexattr_t *));
234int pthread_mutexattr_settype __P((pthread_mutexattr_t *, int));
235int pthread_mutex_destroy __P((pthread_mutex_t *));
236int pthread_mutex_init __P((pthread_mutex_t *,
237 const pthread_mutexattr_t *));
238int pthread_mutex_lock __P((pthread_mutex_t *));
239int pthread_mutex_trylock __P((pthread_mutex_t *));

--- 7 unchanged lines hidden (view full) ---

247int pthread_rwlock_tryrdlock __P((pthread_rwlock_t *));
248int pthread_rwlock_trywrlock __P((pthread_rwlock_t *));
249int pthread_rwlock_unlock __P((pthread_rwlock_t *));
250int pthread_rwlock_wrlock __P((pthread_rwlock_t *));
251int pthread_rwlockattr_init __P((pthread_rwlockattr_t *));
252int pthread_rwlockattr_getpshared __P((const pthread_rwlockattr_t *,
253 int *));
254int pthread_rwlockattr_setpshared __P((pthread_rwlockattr_t *,
232int pthread_mutexattr_init __P((pthread_mutexattr_t *));
233int pthread_mutexattr_destroy __P((pthread_mutexattr_t *));
234int pthread_mutexattr_settype __P((pthread_mutexattr_t *, int));
235int pthread_mutex_destroy __P((pthread_mutex_t *));
236int pthread_mutex_init __P((pthread_mutex_t *,
237 const pthread_mutexattr_t *));
238int pthread_mutex_lock __P((pthread_mutex_t *));
239int pthread_mutex_trylock __P((pthread_mutex_t *));

--- 7 unchanged lines hidden (view full) ---

247int pthread_rwlock_tryrdlock __P((pthread_rwlock_t *));
248int pthread_rwlock_trywrlock __P((pthread_rwlock_t *));
249int pthread_rwlock_unlock __P((pthread_rwlock_t *));
250int pthread_rwlock_wrlock __P((pthread_rwlock_t *));
251int pthread_rwlockattr_init __P((pthread_rwlockattr_t *));
252int pthread_rwlockattr_getpshared __P((const pthread_rwlockattr_t *,
253 int *));
254int pthread_rwlockattr_setpshared __P((pthread_rwlockattr_t *,
255 int *));
255 int));
256int pthread_rwlockattr_destroy __P((pthread_rwlockattr_t *));
257pthread_t pthread_self __P((void));
258int pthread_setspecific __P((pthread_key_t, const void *));
259int pthread_sigmask __P((int, const sigset_t *, sigset_t *));
260
261int pthread_cancel __P((pthread_t));
262int pthread_setcancelstate __P((int, int *));
263int pthread_setcanceltype __P((int, int *));

--- 40 unchanged lines hidden (view full) ---

304int pthread_getschedparam __P((pthread_t pthread, int *,
305 struct sched_param *));
306int pthread_setschedparam __P((pthread_t, int,
307 const struct sched_param *));
308#endif
309
310int pthread_attr_setfloatstate __P((pthread_attr_t *, int));
311int pthread_attr_getfloatstate __P((pthread_attr_t *, int *));
256int pthread_rwlockattr_destroy __P((pthread_rwlockattr_t *));
257pthread_t pthread_self __P((void));
258int pthread_setspecific __P((pthread_key_t, const void *));
259int pthread_sigmask __P((int, const sigset_t *, sigset_t *));
260
261int pthread_cancel __P((pthread_t));
262int pthread_setcancelstate __P((int, int *));
263int pthread_setcanceltype __P((int, int *));

--- 40 unchanged lines hidden (view full) ---

304int pthread_getschedparam __P((pthread_t pthread, int *,
305 struct sched_param *));
306int pthread_setschedparam __P((pthread_t, int,
307 const struct sched_param *));
308#endif
309
310int pthread_attr_setfloatstate __P((pthread_attr_t *, int));
311int pthread_attr_getfloatstate __P((pthread_attr_t *, int *));
312int pthread_attr_setcleanup __P((pthread_attr_t *,
313 void (*) (void *), void *));
314__END_DECLS
315
316#endif
312__END_DECLS
313
314#endif