1 // Module: Log4CPLUS
2 // File: sleep.h
3 // Created: 5/2003
4 // Author: Tad E. Smith
5 //
6 //
7 // Copyright (C) Tad E. Smith All rights reserved.
8 //
9 // This software is published under the terms of the Apache Software
10 // License version 1.1, a copy of which has been included with this
11 // distribution in the LICENSE.APL file.
12 //
13
14 /** @file */
15
16 #ifndef _LOG4CPLUS_HELPERS_SLEEP_HEADER_
17 #define _LOG4CPLUS_HELPERS_SLEEP_HEADER_
18
19 #include <log4cplus/config.h>
20
21
22 namespace log4cplus {
23 namespace helpers {
24 LOG4CPLUS_EXPORT void sleep(unsigned long secs,
25 unsigned long nanosecs = 0);
26 LOG4CPLUS_EXPORT void sleepmillis(unsigned long millis);
27 } // end namespace helpers
28 } // end namespace log4cplus
29
30 #endif // _LOG4CPLUS_HELPERS_SLEEP_HEADER_
syntax highlighted by Code2HTML, v. 0.9.1