1115399Skan/*- 2115399Skan * Copyright 2003 Alexander Kabaev. 3115399Skan * All rights reserved. 4115399Skan * 5115399Skan * Redistribution and use in source and binary forms, with or without 6115399Skan * modification, are permitted provided that the following conditions 7115399Skan * are met: 8115399Skan * 1. Redistributions of source code must retain the above copyright 9115399Skan * notice, this list of conditions and the following disclaimer. 10115399Skan * 2. Redistributions in binary form must reproduce the above copyright 11115399Skan * notice, this list of conditions and the following disclaimer in the 12115399Skan * documentation and/or other materials provided with the distribution. 13115399Skan * 14115399Skan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15115399Skan * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16115399Skan * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17115399Skan * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18115399Skan * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19115399Skan * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20115399Skan * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21115399Skan * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22115399Skan * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23115399Skan * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24115399Skan * 25115399Skan * $FreeBSD: releng/10.3/lib/libkse/support/thr_support.c 143946 2005-03-21 23:10:35Z davidxu $ 26115399Skan */ 27115399Skan 28115399Skan#include <sys/cdefs.h> 29115399Skan#include <sys/types.h> 30115399Skan#include <sys/time.h> 31115399Skan#include <sys/kse.h> 32115399Skan#include <signal.h> 33115399Skan#include <string.h> 34115399Skan 35116059Sdeischen#include "thr_private.h" 36116059Sdeischen 37115399Skan__strong_reference(clock_gettime, _thr_clock_gettime); 38115399Skan__strong_reference(kse_exit, _thr_kse_exit); 39115399Skan__strong_reference(kse_wakeup, _thr_kse_wakeup); 40115399Skan__strong_reference(kse_create, _thr_kse_create); 41115399Skan__strong_reference(kse_thr_interrupt, _thr_kse_thr_interrupt); 42115399Skan__strong_reference(kse_release, _thr_kse_release); 43143946Sdavidxu__strong_reference(kse_switchin, _thr_kse_switchin); 44115399Skan 45115399Skan__strong_reference(sigaction, _thr_sigaction); 46115399Skan__strong_reference(sigprocmask, _thr_sigprocmask); 47115399Skan__strong_reference(sigemptyset, _thr_sigemptyset); 48115399Skan__strong_reference(sigaddset, _thr_sigaddset); 49115399Skan__strong_reference(sigfillset, _thr_sigfillset); 50115399Skan__strong_reference(sigismember, _thr_sigismember); 51115399Skan__strong_reference(sigdelset, _thr_sigdelset); 52115399Skan 53115399Skan__strong_reference(memset, _thr_memset); 54115399Skan__strong_reference(memcpy, _thr_memcpy); 55115399Skan__strong_reference(strcpy, _thr_strcpy); 56115399Skan__strong_reference(strlen, _thr_strlen); 57115399Skan__strong_reference(bzero, _thr_bzero); 58116977Sdavidxu__strong_reference(bcopy, _thr_bcopy); 59115399Skan 60116059Sdeischen__strong_reference(__sys_write, _thr__sys_write); 61116977Sdavidxu__strong_reference(__sys_sigtimedwait, _thr__sys_sigtimedwait); 62116977Sdavidxu 63