opnsense-src/contrib/llvm/lib/Support/Unix/Mutex.inc

44 lines
1,013 B
PHP
Raw Normal View History

//===- llvm/Support/Unix/Mutex.inc - Unix Mutex Implementation ---*- C++ -*-===//
//
2009-06-02 13:52:33 -04:00
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
2009-06-02 13:52:33 -04:00
//===----------------------------------------------------------------------===//
//
// This file implements the Unix specific (non-pthread) Mutex class.
//
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on *all* UNIX variants.
//===----------------------------------------------------------------------===//
namespace llvm
{
using namespace sys;
2009-06-22 04:08:12 -04:00
MutexImpl::MutexImpl( bool recursive)
2009-06-02 13:52:33 -04:00
{
}
2009-06-22 04:08:12 -04:00
MutexImpl::~MutexImpl()
2009-06-02 13:52:33 -04:00
{
}
bool
2009-06-22 04:08:12 -04:00
MutexImpl::release()
2009-06-02 13:52:33 -04:00
{
return true;
}
bool
2009-06-22 04:08:12 -04:00
MutexImpl::tryacquire( void )
2009-06-02 13:52:33 -04:00
{
return true;
}
}