xref: /netbsd-src/tests/lib/libpthread/t_timedmutex.c (revision 179c7d3b3145b1a669e2c59bc60097991e6dc71b)
1*179c7d3bSchristos /* $NetBSD: t_timedmutex.c,v 1.2 2016/10/31 16:21:23 christos Exp $ */
253e134eaSkamil 
353e134eaSkamil /*
453e134eaSkamil  * Copyright (c) 2008 The NetBSD Foundation, Inc.
553e134eaSkamil  * All rights reserved.
653e134eaSkamil  *
753e134eaSkamil  * Redistribution and use in source and binary forms, with or without
853e134eaSkamil  * modification, are permitted provided that the following conditions
953e134eaSkamil  * are met:
1053e134eaSkamil  * 1. Redistributions of source code must retain the above copyright
1153e134eaSkamil  *    notice, this list of conditions and the following disclaimer.
1253e134eaSkamil  * 2. Redistributions in binary form must reproduce the above copyright
1353e134eaSkamil  *    notice, this list of conditions and the following disclaimer in the
1453e134eaSkamil  *    documentation and/or other materials provided with the distribution.
1553e134eaSkamil  *
1653e134eaSkamil  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1753e134eaSkamil  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1853e134eaSkamil  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1953e134eaSkamil  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2053e134eaSkamil  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2153e134eaSkamil  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2253e134eaSkamil  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2353e134eaSkamil  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2453e134eaSkamil  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2553e134eaSkamil  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2653e134eaSkamil  * POSSIBILITY OF SUCH DAMAGE.
2753e134eaSkamil  */
2853e134eaSkamil 
29*179c7d3bSchristos #define TIMEDMUTEX
30*179c7d3bSchristos #include "t_mutex.c"
31