thr_private.h (173173) | thr_private.h (173801) |
---|---|
1/* 2 * Copyright (C) 2005 Daniel M. Eischen <deischen@freebsd.org> 3 * Copyright (c) 2005 David Xu <davidxu@freebsd.org> 4 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 5 * 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * | 1/* 2 * Copyright (C) 2005 Daniel M. Eischen <deischen@freebsd.org> 3 * Copyright (c) 2005 David Xu <davidxu@freebsd.org> 4 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 5 * 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/lib/libthr/thread/thr_private.h 173173 2007-10-30 05:57:37Z davidxu $ | 29 * $FreeBSD: head/lib/libthr/thread/thr_private.h 173801 2007-11-21 05:21:58Z davidxu $ |
30 */ 31 32#ifndef _THR_PRIVATE_H 33#define _THR_PRIVATE_H 34 35/* 36 * Include files. 37 */ --- 269 unchanged lines hidden (view full) --- 307#define TID_TERMINATED 1 308 309 /* 310 * Lock for accesses to this thread structure. 311 */ 312 struct umutex lock; 313 314 /* Internal condition variable cycle number. */ | 30 */ 31 32#ifndef _THR_PRIVATE_H 33#define _THR_PRIVATE_H 34 35/* 36 * Include files. 37 */ --- 269 unchanged lines hidden (view full) --- 307#define TID_TERMINATED 1 308 309 /* 310 * Lock for accesses to this thread structure. 311 */ 312 struct umutex lock; 313 314 /* Internal condition variable cycle number. */ |
315 umtx_t cycle; | 315 long cycle; |
316 317 /* How many low level locks the thread held. */ 318 int locklevel; 319 320 /* 321 * Set to non-zero when this thread has entered a critical 322 * region. We allow for recursive entries into critical regions. 323 */ --- 394 unchanged lines hidden --- | 316 317 /* How many low level locks the thread held. */ 318 int locklevel; 319 320 /* 321 * Set to non-zero when this thread has entered a critical 322 * region. We allow for recursive entries into critical regions. 323 */ --- 394 unchanged lines hidden --- |