Deleted Added
full compact
lockmgr.h (71576) lockmgr.h (72358)
1/*
2 * Copyright (c) 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code contains ideas from software contributed to Berkeley by
6 * Avadis Tevanian, Jr., Michael Wayne Young, and the Mach Operating
7 * System project at Carnegie-Mellon University.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)lock.h 8.12 (Berkeley) 5/19/95
1/*
2 * Copyright (c) 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code contains ideas from software contributed to Berkeley by
6 * Avadis Tevanian, Jr., Michael Wayne Young, and the Mach Operating
7 * System project at Carnegie-Mellon University.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * @(#)lock.h 8.12 (Berkeley) 5/19/95
38 * $FreeBSD: head/sys/sys/lockmgr.h 71576 2001-01-24 12:35:55Z jasone $
38 * $FreeBSD: head/sys/sys/lockmgr.h 72358 2001-02-11 10:44:09Z markm $
39 */
40
41#ifndef _LOCK_H_
42#define _LOCK_H_
43
39 */
40
41#ifndef _LOCK_H_
42#define _LOCK_H_
43
44#include <machine/lock.h>
45
46struct mtx;
47
48/*
49 * The general lock structure. Provides for multiple shared locks,
50 * upgrading from shared to exclusive, and sleeping until the lock
51 * can be gained.
52 */
53struct lock {

--- 171 unchanged lines hidden ---
44struct mtx;
45
46/*
47 * The general lock structure. Provides for multiple shared locks,
48 * upgrading from shared to exclusive, and sleeping until the lock
49 * can be gained.
50 */
51struct lock {

--- 171 unchanged lines hidden ---