Deleted Added
full compact
Threading.cpp (234353) Threading.cpp (249423)
1//===-- llvm/Support/Threading.cpp- Control multithreading mode --*- C++ -*-==//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements llvm_start_multithreaded() and friends.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Support/Threading.h"
1//===-- llvm/Support/Threading.cpp- Control multithreading mode --*- C++ -*-==//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements llvm_start_multithreaded() and friends.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Support/Threading.h"
15#include "llvm/Config/config.h"
15#include "llvm/Support/Atomic.h"
16#include "llvm/Support/Mutex.h"
16#include "llvm/Support/Atomic.h"
17#include "llvm/Support/Mutex.h"
17#include "llvm/Config/config.h"
18#include <cassert>
19
20using namespace llvm;
21
22static bool multithreaded_mode = false;
23
24static sys::Mutex* global_lock = 0;
25

--- 122 unchanged lines hidden ---
18#include <cassert>
19
20using namespace llvm;
21
22static bool multithreaded_mode = false;
23
24static sys::Mutex* global_lock = 0;
25

--- 122 unchanged lines hidden ---