thr_int.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _THR_INT_H
#define _THR_INT_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
*
* This file should be deleted since nothing in libc uses it.
* However, ld.so.1 is coded to be compatible with all things past
* and it imports this file for the benefit of _ld_concurrency().
* Nothing calls _ld_concurrency() in Solaris 10, but the current
* code for ld.so.1 might be copied back to a patch workspace
* and _ld_concurrency() is called in Solaris 9 and prior releases.
*
* All definitions previously in this file have been deleted
* except for just those definitions used by ld.so.1, below.
*/
/*
* Threads Interface communication structure for old threads libraries
*/
typedef struct {
int ti_tag;
union {
int (* ti_func)();
long ti_val;
} ti_un;
#ifdef __cplusplus
}
#endif
#endif /* _THR_INT_H */