1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This header is a wrapper for <thread> that works around problems with the
11 // MSVC headers when exceptions are disabled.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_SUPPORT_THREAD_H
16 #define LLVM_SUPPORT_THREAD_H
19 // concrt.h depends on eh.h for __uncaught_exception declaration
20 // even if we disable exceptions.
23 // Suppress 'C++ exception handler used, but unwind semantics are not enabled.'
25 #pragma warning(disable:4530)