1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: no-threads
11 // <condition_variable>
13 // class condition_variable_any;
15 // template <class Lock>
16 // void wait(Lock& lock);
18 #include <condition_variable>
23 #include "make_test_thread.h"
24 #include "test_macros.h"
26 std::condition_variable_any cv
;
28 typedef std::timed_mutex L0
;
29 typedef std::unique_lock
<L0
> L1
;
50 std::thread t
= support::make_test_thread(f
);