pthread_np.h revision 19638
1160814Ssimon/* 2160814Ssimon * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. 3160814Ssimon * All rights reserved. 4160814Ssimon * 5160814Ssimon * Redistribution and use in source and binary forms, with or without 6160814Ssimon * modification, are permitted provided that the following conditions 7160814Ssimon * are met: 8160814Ssimon * 1. Redistributions of source code must retain the above copyright 9160814Ssimon * notice, this list of conditions and the following disclaimer. 10160814Ssimon * 2. Redistributions in binary form must reproduce the above copyright 11160814Ssimon * notice, this list of conditions and the following disclaimer in the 12160814Ssimon * documentation and/or other materials provided with the distribution. 13160814Ssimon * 3. All advertising materials mentioning features or use of this software 14160814Ssimon * must display the following acknowledgement: 15160814Ssimon * This product includes software developed by John Birrell. 16160814Ssimon * 4. Neither the name of the author nor the names of any co-contributors 17238405Sjkim * may be used to endorse or promote products derived from this software 18238405Sjkim * without specific prior written permission. 19160814Ssimon * 20160814Ssimon * THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND 21160814Ssimon * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22160814Ssimon * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23160814Ssimon * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24160814Ssimon * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25160814Ssimon * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26160814Ssimon * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27160814Ssimon * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28160814Ssimon * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29160814Ssimon * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30160814Ssimon * SUCH DAMAGE. 31160814Ssimon * 32160814Ssimon */ 33160814Ssimon#ifndef _PTHREAD_NP_H_ 34160814Ssimon#define _PTHREAD_NP_H_ 35160814Ssimon 36160814Ssimon/* 37160814Ssimon * Non-POSIX thread function prototype definitions: 38160814Ssimon */ 39160814Ssimon__BEGIN_DECLS 40160814Ssimonint pthread_attr_setcreatesuspend_np __P((pthread_attr_t *)); 41160814Ssimonint pthread_multi_np __P((void)); 42160814Ssimonint pthread_resume_np __P((pthread_t)); 43160814Ssimonint pthread_single_np __P((void)); 44160814Ssimonint pthread_suspend_np __P((pthread_t)); 45160814Ssimonint pthread_mutexattr_getkind_np __P((pthread_mutexattr_t attr)); 46160814Ssimonint pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *attr, int kind)); 47160814Ssimon__END_DECLS 48160814Ssimon 49160814Ssimon#endif 50160814Ssimon