thr_autoinit.c (bb535300dd871731b2542594a917bc2892479ca0) | thr_autoinit.c (7d9d7ca2ed3e3d630e63482c41f2d26194129c2c) |
---|---|
1/* 2 * Copyright (c) 2002 Alfred Perlstein <alfred@freebsd.org>. 3 * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * $FreeBSD$ 34 */ 35 | 1/* 2 * Copyright (c) 2002 Alfred Perlstein <alfred@freebsd.org>. 3 * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * $FreeBSD$ 34 */ 35 |
36#include <pthread.h> 37 38#include "thr_private.h" 39 |
|
36/* 37 * This module uses GCC extentions to initialize the 38 * threads package at program start-up time. 39 */ 40 41void _thread_init_hack(void) __attribute__ ((constructor)); 42 43void --- 18 unchanged lines hidden --- | 40/* 41 * This module uses GCC extentions to initialize the 42 * threads package at program start-up time. 43 */ 44 45void _thread_init_hack(void) __attribute__ ((constructor)); 46 47void --- 18 unchanged lines hidden --- |