• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // <mutex>
11 
12 // class recursive_mutex;
13 
14 // typedef pthread_mutex_t* native_handle_type;
15 // native_handle_type native_handle();
16 
17 #include <mutex>
18 #include <cassert>
19 
main()20 int main()
21 {
22     std::recursive_mutex m;
23     pthread_mutex_t* h = m.native_handle();
24     assert(h);
25 }
26