Deleted Added
full compact
pthread_np.h (49307) pthread_np.h (74462)
1/*
2 * Copyright (c) 1996-98 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

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

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/include/pthread_np.h 74462 2001-03-19 12:50:13Z alfred $
32 */
33#ifndef _PTHREAD_NP_H_
34#define _PTHREAD_NP_H_
35
36/*
37 * Non-POSIX type definitions:
38 */
39typedef void (*pthread_switch_routine_t) __P((pthread_t, pthread_t));

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

47int pthread_resume_np __P((pthread_t));
48int pthread_single_np __P((void));
49int pthread_suspend_np __P((pthread_t));
50int pthread_mutexattr_getkind_np __P((pthread_mutexattr_t));
51int pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *, int));
52void pthread_set_name_np __P((pthread_t, char *));
53int pthread_switch_add_np __P((pthread_switch_routine_t));
54int pthread_switch_delete_np __P((pthread_switch_routine_t));
33 */
34#ifndef _PTHREAD_NP_H_
35#define _PTHREAD_NP_H_
36
37/*
38 * Non-POSIX type definitions:
39 */
40typedef void (*pthread_switch_routine_t) __P((pthread_t, pthread_t));

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

48int pthread_resume_np __P((pthread_t));
49int pthread_single_np __P((void));
50int pthread_suspend_np __P((pthread_t));
51int pthread_mutexattr_getkind_np __P((pthread_mutexattr_t));
52int pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *, int));
53void pthread_set_name_np __P((pthread_t, char *));
54int pthread_switch_add_np __P((pthread_switch_routine_t));
55int pthread_switch_delete_np __P((pthread_switch_routine_t));
56int pthread_main_np __P((void));
55__END_DECLS
56
57#endif
57__END_DECLS
58
59#endif