/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include "SYS.h"
/*
* int
* __lwp_create(ucontext_t *uc, unsigned long flags, lwpid_t *lwpidp)
*/
/*
* int
* _lwp_continue(lwpid_t lwpid)
*/
/*
* int
* ___lwp_suspend(lwpid_t lwpid)
*/
/*
* int
* _lwp_kill(lwpid_t lwpid, int sig)
*/
/*
* lwpid_t
* _lwp_self(void)
*/
/*
* int
* __lwp_wait(lwpid_t lwpid, lwpid_t *departed)
*/
/*
* int
* __lwp_detach(lwpid_t lwpid)
*/
/*
* The ___lwp_mutex_timedlock() and ___lwp_mutex_wakeup() functions
* are called while holding non-preemptive spin locks and we must
* not call out of the library while holding such locks in order
* to avoid invoking the dynamic linker. For this reason, these
* functions must never become exported symbols from the library.
*/
/*
* int
* ___lwp_mutex_timedlock(lwp_mutex_t *, timespec_t *, uintptr_t)
*/
/*
* int
* ___lwp_mutex_wakeup(lwp_mutex_t *mp, int)
*/
/*
* int
* _lwp_cond_broadcast(lwp_cond_t *cvp)
*/
/*
* int
* ___lwp_cond_wait(lwp_cond_t *, lwp_mutex_t *, timespec_t *, int)
*/
/*
* int
* _lwp_cond_signal(lwp_cond_t *cvp)
*/
/*
* int
* ___lwp_sema_timedwait(lwp_sema_t *, timespec_t *, int check_park)
*/
/*
* int
* _lwp_sema_trywait(lwp_sema_t *sp)
*/
/*
* int
* _lwp_sema_post(lwp_sema_t *sp)
*/
/*
* int
* _lwp_info(struct lwpinfo *infop)
*/
/*
* sc_shared_t *
* __schedctl(void)
*/
/*
* int
* ___lwp_mutex_trylock(lwp_mutex_t *mp, uintptr_t)
*/
/*
* int
* ___lwp_mutex_unlock(lwp_mutex_t *mp)
*/
/*
* int
* ___lwp_mutex_register(lwp_mutex_t *mp, lwp_mutex_t **uaddr)
*/