zrlock.h revision 744947dc83c634d985ed3ad79ac9c5e28d1865fd
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * CDDL HEADER START
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * The contents of this file are subject to the terms of the
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * Common Development and Distribution License (the "License").
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * You may not use this file except in compliance with the License.
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * See the License for the specific language governing permissions
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * and limitations under the License.
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * When distributing Covered Code, include this CDDL HEADER in each
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * If applicable, add the following below this CDDL HEADER, with the
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * fields enclosed by brackets "[]" replaced with your own identifying
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * information: Portions Copyright [yyyy] [name of copyright owner]
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * CDDL HEADER END
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Ericksontypedef struct zrlock {
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson#define zrl_add(_z) zrl_add_debug((_z), __func__)
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Ericksonextern void zrl_add_debug(zrlock_t *, const char *);
744947dc83c634d985ed3ad79ac9c5e28d1865fdTom Erickson#endif /* _SYS_ZRLOCK_H */