Deleted Added
full compact
pthread.h (54757) pthread.h (55708)
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 54757 1999-12-18 01:00:42Z jasone $
33 * $FreeBSD: head/include/pthread.h 55708 2000-01-10 04:14:08Z deischen $
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

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

293#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
294int pthread_attr_getinheritsched __P((const pthread_attr_t *, int *));
295int pthread_attr_getschedparam __P((const pthread_attr_t *,
296 struct sched_param *));
297int pthread_attr_getschedpolicy __P((const pthread_attr_t *, int *));
298int pthread_attr_getscope __P((const pthread_attr_t *, int *));
299int pthread_attr_setinheritsched __P((pthread_attr_t *, int));
300int pthread_attr_setschedparam __P((pthread_attr_t *,
34 */
35#ifndef _PTHREAD_H_
36#define _PTHREAD_H_
37
38/*
39 * Header files.
40 */
41#include <sys/cdefs.h>

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

293#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
294int pthread_attr_getinheritsched __P((const pthread_attr_t *, int *));
295int pthread_attr_getschedparam __P((const pthread_attr_t *,
296 struct sched_param *));
297int pthread_attr_getschedpolicy __P((const pthread_attr_t *, int *));
298int pthread_attr_getscope __P((const pthread_attr_t *, int *));
299int pthread_attr_setinheritsched __P((pthread_attr_t *, int));
300int pthread_attr_setschedparam __P((pthread_attr_t *,
301 struct sched_param *));
301 const struct sched_param *));
302int pthread_attr_setschedpolicy __P((pthread_attr_t *, int));
303int pthread_attr_setscope __P((pthread_attr_t *, int));
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 *));
312__END_DECLS
313
314#endif
302int pthread_attr_setschedpolicy __P((pthread_attr_t *, int));
303int pthread_attr_setscope __P((pthread_attr_t *, int));
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 *));
312__END_DECLS
313
314#endif