diff options
Diffstat (limited to 'lib/Support/Mutex.cpp')
-rw-r--r-- | lib/Support/Mutex.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/Support/Mutex.cpp b/lib/Support/Mutex.cpp deleted file mode 100644 index 6271797da4..0000000000 --- a/lib/Support/Mutex.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//===-- Support/Lock.cpp - Platform-agnostic mutual exclusion -------------===// -// -// The LLVM Compiler Infrastructure -// -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// Implementation of various methods supporting platform-agnostic lock -// abstraction. See Support/Lock.h for details. -// -//===----------------------------------------------------------------------===// - -#include "Support/Lock.h" - -using namespace llvm; - -Lock Lock::create () { - // Currently we only support creating POSIX pthread_mutex_t locks. - // In the future we might want to construct different kinds of locks - // based on what OS is running. - return POSIXLock (); -} |