Home | History | Annotate | Download | only in thread.mutex.recursive
      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 // recursive_mutex(const recursive_mutex&) = delete;
     15 
     16 #include <mutex>
     17 
     18 int main()
     19 {
     20     std::recursive_mutex m0;
     21     std::recursive_mutex m1(m0);
     22 }
     23