Logo ROOT   6.16/01
Reference Guide
TMCAutoLock.cxx
Go to the documentation of this file.
1// @(#)root/vmc:$Id$
2// Author: Ivana Hrivnacova, 24/03/2017
3
4/*************************************************************************
5 * Copyright (C) 2006, Rene Brun and Fons Rademakers. *
6 * Copyright (C) 2002, ALICE Experiment at CERN. *
7 * All rights reserved. *
8 * *
9 * For the licensing terms see $ROOTSYS/LICENSE. *
10 * For the list of contributors see $ROOTSYS/README/CREDITS. *
11 *************************************************************************/
12
13//------------------------------------------------
14// The Geant4 Virtual Monte Carlo package
15// Copyright (C) 2013, 2014 Ivana Hrivnacova
16// All rights reserved.
17//
18// For the licensing terms see geant4_vmc/LICENSE.
19// Contact: root-vmc@cern.ch
20//-------------------------------------------------
21
22/// \file TMCAutoLock.cxx
23/// \brief Implementation of the TMCAutoLock class
24///
25/// \author I. Hrivnacova; IPN, Orsay
26
27//
28// ********************************************************************
29// * License and Disclaimer *
30// * *
31// * The Geant4 software is copyright of the Copyright Holders of *
32// * the Geant4 Collaboration. It is provided under the terms and *
33// * conditions of the Geant4 Software License, included in the file *
34// * LICENSE and available at http://cern.ch/geant4/license . These *
35// * include a list of copyright holders. *
36// * *
37// * Neither the authors of this software system, nor their employing *
38// * institutes,nor the agencies providing financial support for this *
39// * work make any representation or warranty, express or implied, *
40// * regarding this software system or assume any liability for its *
41// * use. Please see the license in the file LICENSE and URL above *
42// * for the full disclaimer and the limitation of liability. *
43// * *
44// * This code implementation is the result of the scientific and *
45// * technical work of the GEANT4 collaboration. *
46// * By using, copying, modifying or distributing the software (or *
47// * any work based on the software) you agree to acknowledge its *
48// * use in resulting scientific publications, and indicate your *
49// * acceptance of all terms of the Geant4 Software license. *
50// ********************************************************************
51//
52
53#include "TMCAutoLock.h"
54
55#if !defined(TMCMULTITHREADED)
57{
58 return 0;
59}
60#endif
int fake_mutex_lock_unlock(TMCMutex *)
Definition: TMCAutoLock.cxx:56
Definition of the TMCTemplateAutoLock and TMCImpMutexAutoLock classes.
pthread_mutex_t TMCMutex
Definition: TMCAutoLock.h:94