LLVM API Documentation
00001 //===- llvm/System/Unix/Mutex.inc - Unix Mutex Implementation ---*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by Reid Spencer and is distributed under the 00006 // University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file implements the Unix specific (non-pthread) Mutex class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 //===----------------------------------------------------------------------===// 00015 //=== WARNING: Implementation here must contain only generic UNIX code that 00016 //=== is guaranteed to work on *all* UNIX variants. 00017 //===----------------------------------------------------------------------===// 00018 00019 namespace llvm 00020 { 00021 using namespace sys; 00022 00023 Mutex::Mutex( bool recursive) 00024 { 00025 } 00026 00027 Mutex::~Mutex() 00028 { 00029 } 00030 00031 bool 00032 Mutex::acquire() 00033 { 00034 } 00035 00036 bool 00037 Mutex::release() 00038 { 00039 } 00040 00041 bool 00042 Mutex::tryacquire( void ) 00043 { 00044 } 00045 00046 }