1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (C) 2015 Cyril Hrubis <chrubis@suse.cz> 4 * 5 * 1. Block on a bitset futex and wait for timeout, the difference between 6 * normal futex and bitset futex is that that the later have absolute timeout. 7 * 2. Check that the futex waited for expected time. 8 */ 9 10 #include <errno.h> 11 12 #include "tst_test.h" 13 #include "tst_timer.h" 14 #include "futextest.h" 15 16 #define USE_CLOCK CLOCK_REALTIME 17 18 #include "futex_wait_bitset.h" 19