pthread_np.h (108898) | pthread_np.h (150902) |
---|---|
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 108898 2003-01-07 21:43:30Z fjoe $ | 32 * $FreeBSD: head/include/pthread_np.h 150902 2005-10-04 07:23:56Z davidxu $ |
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)(pthread_t, pthread_t); --- 11 unchanged lines hidden (view full) --- 52void pthread_resume_all_np(void); 53int pthread_resume_np(pthread_t); 54void pthread_set_name_np(pthread_t, const char *); 55int pthread_single_np(void); 56void pthread_suspend_all_np(void); 57int pthread_suspend_np(pthread_t); 58int pthread_switch_add_np(pthread_switch_routine_t); 59int pthread_switch_delete_np(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)(pthread_t, pthread_t); --- 11 unchanged lines hidden (view full) --- 52void pthread_resume_all_np(void); 53int pthread_resume_np(pthread_t); 54void pthread_set_name_np(pthread_t, const char *); 55int pthread_single_np(void); 56void pthread_suspend_all_np(void); 57int pthread_suspend_np(pthread_t); 58int pthread_switch_add_np(pthread_switch_routine_t); 59int pthread_switch_delete_np(pthread_switch_routine_t); |
60int pthread_timedjoin_np(pthread_t, void **, const struct timespec *); |
|
60__END_DECLS 61 62#endif | 61__END_DECLS 62 63#endif |