/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	inline_lock.h,v $
 * Revision 1.1.3.2  91/11/20  13:43:26  Hal_Project
 * 	Moved from dec/machine/mips; pool reorg.
 * 	[91/11/18  00:06:31  Donald_Dutile]
 * 
 * Revision 4.2  91/09/19  23:11:44  devbld
 * 	Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: inline_lock.h,v $ $Revision: 1.1.3.2 $ (DEC) $Date: 91/11/20 13:43:26 $
 */ 
/*
 */
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/*
 * OSF/1 Release 1.0
 */
/* 
 * derived from inline_lock.h	2.1	(ULTRIX/OSF)	12/3/90
 *
 *	Revision History:
 *
 * 8-Apr-91	Ron Widyono
 *	For RT_PREEMPT, we have our own lock macros.
 *
 */

/*
 * Define inline functions to be used with compilers that can benefit
 * from this. For the PMAX we use the simple default locks.
 */
#if	__GNUC__
#if	(MACH_LDEBUG || RT_PREEMPT)
/*
 * When debugging simple locks on the PMAX we use the standard
 * functions in lock.c. Otherwise we can use the inlined functions.
 * By defining _NO_INLINE_LOCKS here we tell lock.h to not declare the standard
 * inline functions. This causes us to use the functions in lock.c.
 */
#define _NO_INLINE_LOCKS 1
#endif	/* MACH_LDEBUG */
#endif	/* __GNUC__ */
