1/*- 2 * Copyright 2003 Alexander Kabaev. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * 25 * $FreeBSD: releng/10.3/lib/libkse/support/thr_support.c 143946 2005-03-21 23:10:35Z davidxu $ 26 */ 27 28#include <sys/cdefs.h> 29#include <sys/types.h> 30#include <sys/time.h> 31#include <sys/kse.h> 32#include <signal.h> 33#include <string.h> 34 35#include "thr_private.h" 36 37__strong_reference(clock_gettime, _thr_clock_gettime); 38__strong_reference(kse_exit, _thr_kse_exit); 39__strong_reference(kse_wakeup, _thr_kse_wakeup); 40__strong_reference(kse_create, _thr_kse_create); 41__strong_reference(kse_thr_interrupt, _thr_kse_thr_interrupt); 42__strong_reference(kse_release, _thr_kse_release); 43__strong_reference(kse_switchin, _thr_kse_switchin); 44 45__strong_reference(sigaction, _thr_sigaction); 46__strong_reference(sigprocmask, _thr_sigprocmask); 47__strong_reference(sigemptyset, _thr_sigemptyset); 48__strong_reference(sigaddset, _thr_sigaddset); 49__strong_reference(sigfillset, _thr_sigfillset); 50__strong_reference(sigismember, _thr_sigismember); 51__strong_reference(sigdelset, _thr_sigdelset); 52 53__strong_reference(memset, _thr_memset); 54__strong_reference(memcpy, _thr_memcpy); 55__strong_reference(strcpy, _thr_strcpy); 56__strong_reference(strlen, _thr_strlen); 57__strong_reference(bzero, _thr_bzero); 58__strong_reference(bcopy, _thr_bcopy); 59 60__strong_reference(__sys_write, _thr__sys_write); 61__strong_reference(__sys_sigtimedwait, _thr__sys_sigtimedwait); 62 63