VMC Version 2.0
Loading...
Searching...
No Matches
TMCAutoLock.cxx
Go to the documentation of this file.
1// -----------------------------------------------------------------------
2// Copyright (C) 2019 CERN and copyright holders of VMC Project.
3// This software is distributed under the terms of the GNU General Public
4// License v3 (GPL Version 3), copied verbatim in the file "LICENSE".
5//
6// See https://github.com/vmc-project/vmc for full licensing information.
7// -----------------------------------------------------------------------
8
9// Author: Ivana Hrivnacova, 24/03/2017
10
11/*************************************************************************
12 * Copyright (C) 2006, Rene Brun and Fons Rademakers. *
13 * Copyright (C) 2002, ALICE Experiment at CERN. *
14 * All rights reserved. *
15 * *
16 * For the licensing terms see $ROOTSYS/LICENSE. *
17 * For the list of contributors see $ROOTSYS/README/CREDITS. *
18 *************************************************************************/
19
20//------------------------------------------------
21// The Geant4 Virtual Monte Carlo package
22// Copyright (C) 2013, 2014 Ivana Hrivnacova
23// All rights reserved.
24//
25// For the licensing terms see geant4_vmc/LICENSE.
26// Contact: root-vmc@cern.ch
27//-------------------------------------------------
28
33
34//
35// ********************************************************************
36// * License and Disclaimer *
37// * *
38// * The Geant4 software is copyright of the Copyright Holders of *
39// * the Geant4 Collaboration. It is provided under the terms and *
40// * conditions of the Geant4 Software License, included in the file *
41// * LICENSE and available at http://cern.ch/geant4/license . These *
42// * include a list of copyright holders. *
43// * *
44// * Neither the authors of this software system, nor their employing *
45// * institutes,nor the agencies providing financial support for this *
46// * work make any representation or warranty, express or implied, *
47// * regarding this software system or assume any liability for its *
48// * use. Please see the license in the file LICENSE and URL above *
49// * for the full disclaimer and the limitation of liability. *
50// * *
51// * This code implementation is the result of the scientific and *
52// * technical work of the GEANT4 collaboration. *
53// * By using, copying, modifying or distributing the software (or *
54// * any work based on the software) you agree to acknowledge its *
55// * use in resulting scientific publications, and indicate your *
56// * acceptance of all terms of the Geant4 Software license. *
57// ********************************************************************
58//
59
60#include "TMCAutoLock.h"
61
62#if !defined(TMCMULTITHREADED)
64{
65 return 0;
66}
67#endif
int fake_mutex_lock_unlock(TMCMutex *)
TMCAutoLock.cxx.
Definition: TMCAutoLock.cxx:63
std::mutex TMCMutex
Definition: TMCAutoLock.h:310