Deleted Added
full compact
pthread.h (119736) pthread.h (119790)
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 119736 2003-09-04 14:06:43Z davidxu $
33 * $FreeBSD: head/include/pthread.h 119790 2003-09-06 00:07:52Z davidxu $
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

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

253int pthread_mutex_timedlock(pthread_mutex_t *,
254 const struct timespec *);
255int pthread_mutex_unlock(pthread_mutex_t *);
256int pthread_once(pthread_once_t *, void (*) (void));
257int pthread_rwlock_destroy(pthread_rwlock_t *);
258int pthread_rwlock_init(pthread_rwlock_t *,
259 const pthread_rwlockattr_t *);
260int pthread_rwlock_rdlock(pthread_rwlock_t *);
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

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

253int pthread_mutex_timedlock(pthread_mutex_t *,
254 const struct timespec *);
255int pthread_mutex_unlock(pthread_mutex_t *);
256int pthread_once(pthread_once_t *, void (*) (void));
257int pthread_rwlock_destroy(pthread_rwlock_t *);
258int pthread_rwlock_init(pthread_rwlock_t *,
259 const pthread_rwlockattr_t *);
260int pthread_rwlock_rdlock(pthread_rwlock_t *);
261int pthread_rwlock_timedrdlock(pthread_rwlock_t *,
262 const struct timespec *);
263int pthread_rwlock_timedrwlock(pthread_rwlock_t *,
264 const struct timespec *);
261int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
262int pthread_rwlock_trywrlock(pthread_rwlock_t *);
263int pthread_rwlock_unlock(pthread_rwlock_t *);
264int pthread_rwlock_wrlock(pthread_rwlock_t *);
265int pthread_rwlockattr_init(pthread_rwlockattr_t *);
266int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *,
267 int *);
268int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int);

--- 43 unchanged lines hidden ---
265int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
266int pthread_rwlock_trywrlock(pthread_rwlock_t *);
267int pthread_rwlock_unlock(pthread_rwlock_t *);
268int pthread_rwlock_wrlock(pthread_rwlock_t *);
269int pthread_rwlockattr_init(pthread_rwlockattr_t *);
270int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *,
271 int *);
272int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int);

--- 43 unchanged lines hidden ---