Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:35

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_SLEEP_H_
0012 #define GAUDIKERNEL_SLEEP_H_
0013 
0014 #include "GaudiKernel/Kernel.h"
0015 
0016 namespace Gaudi {
0017 
0018   /// Simple sleep function.
0019   /// @author Marco Clemencic
0020   GAUDI_API void Sleep( int sec );
0021 
0022   /// Small variation on the sleep function for nanoseconds sleep.
0023   /// @author Marco Clemencic
0024   GAUDI_API void NanoSleep( long long nsec );
0025 } // namespace Gaudi
0026 
0027 #endif /*GAUDIKERNEL_SLEEP_H_*/