Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v38r0 (2143aa4c)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Sleep.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_SLEEP_H_
12 #define GAUDIKERNEL_SLEEP_H_
13 
14 #include "GaudiKernel/Kernel.h"
15 
16 namespace Gaudi {
17 
20  GAUDI_API void Sleep( int sec );
21 
24  GAUDI_API void NanoSleep( long long nsec );
25 } // namespace Gaudi
26 
27 #endif /*GAUDIKERNEL_SLEEP_H_*/
Gaudi::NanoSleep
GAUDI_API void NanoSleep(long long nsec)
Small variation on the sleep function for nanoseconds sleep.
Definition: Sleep.cpp:19
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1
Kernel.h
Gaudi::Sleep
GAUDI_API void Sleep(int sec)
Simple sleep function.
Definition: Sleep.cpp:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81