1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: libcpp-has-no-threads, libcpp-has-thread-api-external
16 // typedef pthread_mutex_t* native_handle_type;
17 // native_handle_type native_handle();
25 pthread_mutex_t* h = m.native_handle();