/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* onc720 src/oncplus/usr/include/nsl/thread.h 1.4 */ /* */ /* */ /* */ /* COPYRIGHT International Business Machines Corp. 1996,2008 */ /* All Rights Reserved */ /* */ /* IBM_PROLOG_END_TAG */ /* * Multithreaded Demo Source * * Copyright (C) 1995 by Sun Microsystems, Inc. * All rights reserved. * * This file is a product of SunSoft, Inc. and is provided for * unrestricted use provided that this legend is included on all * media and as a part of the software program in whole or part. * Users may copy, modify or distribute this file at will. * * THIS FILE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING * THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. * * This file is provided with no support and without any obligation on the * part of SunSoft, Inc. to assist in its use, correction, modification or * enhancement. * * SUNSOFT AND SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT * TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS * FILE OR ANY PART THEREOF. * * IN NO EVENT WILL SUNSOFT OR SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY * LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL * DAMAGES, EVEN IF THEY HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH * DAMAGES. * * SunSoft, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 */ /* * THREAD.H - Solaris to POSIX Interface Layer for Threads. * * This code is public domain. It may be freely distributed provided the * Copyright notice is retained. This code is not supported in any way. * Usage of the code is solely at the user's/programmer's discretion. * Sun Microsystems makes no claim as to the reliabilty, correctness or * suitability of this code. Sun Microsystems will not be held liable in * any way as a result loss or damage arising from the use this code. * * Written by: Richard.Marejka@Canada.Sun.COM * Copyright (c) 1994, by Sun Microsystems, Inc. */ #if !defined(THREAD_INCLUDED) #define THREAD_INCLUDED /*** #pragma ident "@(#) thread.h.txt 1.2 95/03/01 Richard.Marejka@Canada.Sun.COM" ***/ #ifdef NOTPORTED /* Feature Test Macros */ #define _POSIX_THREADS #endif /* Include Files */ #include #include #include #define DEFAULTMUTEX PTHREAD_MUTEX_INITIALIZER #endif /* THREAD_INCLUDED */