thr_private.h (80021) | thr_private.h (81750) |
---|---|
1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 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 --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * Private thread definitions for the uthread kernel. 33 * | 1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 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 --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * Private thread definitions for the uthread kernel. 33 * |
34 * $FreeBSD: head/lib/libkse/thread/thr_private.h 80021 2001-07-20 04:23:11Z jasone $ | 34 * $FreeBSD: head/lib/libkse/thread/thr_private.h 81750 2001-08-16 06:31:32Z jasone $ |
35 */ 36 37#ifndef _PTHREAD_PRIVATE_H 38#define _PTHREAD_PRIVATE_H 39 40/* 41 * Evaluate the storage class specifier. 42 */ --- 527 unchanged lines hidden (view full) --- 570 struct { 571 short fd; /* Used when thread waiting on fd */ 572 short branch; /* Line number, for debugging. */ 573 char *fname; /* Source file name for debugging.*/ 574 } fd; 575 FILE *fp; 576 struct pthread_poll_data *poll_data; 577 spinlock_t *spinlock; | 35 */ 36 37#ifndef _PTHREAD_PRIVATE_H 38#define _PTHREAD_PRIVATE_H 39 40/* 41 * Evaluate the storage class specifier. 42 */ --- 527 unchanged lines hidden (view full) --- 570 struct { 571 short fd; /* Used when thread waiting on fd */ 572 short branch; /* Line number, for debugging. */ 573 char *fname; /* Source file name for debugging.*/ 574 } fd; 575 FILE *fp; 576 struct pthread_poll_data *poll_data; 577 spinlock_t *spinlock; |
578 struct pthread *thread; |
|
578}; 579 580/* 581 * Define a continuation routine that can be used to perform a 582 * transfer of control: 583 */ 584typedef void (*thread_continuation_t) (void *); 585 --- 802 unchanged lines hidden --- | 579}; 580 581/* 582 * Define a continuation routine that can be used to perform a 583 * transfer of control: 584 */ 585typedef void (*thread_continuation_t) (void *); 586 --- 802 unchanged lines hidden --- |