Mercurial > hg > CbC > CbC_llvm
comparison include/llvm/Support/ThreadPool.h @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | 803732b1fca8 |
children |
comparison
equal
deleted
inserted
replaced
134:3a76565eade5 | 147:c2174574ed3a |
---|---|
1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===// | 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 // | 4 // See https://llvm.org/LICENSE.txt for license information. |
5 // This file is distributed under the University of Illinois Open Source | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 // License. See LICENSE.TXT for details. | |
7 // | 6 // |
8 //===----------------------------------------------------------------------===// | 7 //===----------------------------------------------------------------------===// |
9 // | 8 // |
10 // This file defines a crude C++11 based thread pool. | 9 // This file defines a crude C++11 based thread pool. |
11 // | 10 // |
12 //===----------------------------------------------------------------------===// | 11 //===----------------------------------------------------------------------===// |
13 | 12 |
14 #ifndef LLVM_SUPPORT_THREAD_POOL_H | 13 #ifndef LLVM_SUPPORT_THREAD_POOL_H |
15 #define LLVM_SUPPORT_THREAD_POOL_H | 14 #define LLVM_SUPPORT_THREAD_POOL_H |
16 | 15 |
16 #include "llvm/Config/llvm-config.h" | |
17 #include "llvm/Support/thread.h" | 17 #include "llvm/Support/thread.h" |
18 | 18 |
19 #include <future> | 19 #include <future> |
20 | 20 |
21 #include <atomic> | 21 #include <atomic> |