# sleep.h

Go to the documentation of this file.

    00001 // Module:  Log4CPLUS
    00002 // File:    sleep.h
    00003 // Created: 5/2003
    00004 // Author:  Tad E. Smith
    00005 //
    00006 //
    00007 // Copyright (C) Tad E. Smith  All rights reserved.
    00008 //
    00009 // This software is published under the terms of the Apache Software
    00010 // License version 1.1, a copy of which has been included with this
    00011 // distribution in the LICENSE.APL file.
    00012 //
    00013
    00016 #ifndef _LOG4CPLUS_HELPERS_SLEEP_HEADER_
    00017 #define _LOG4CPLUS_HELPERS_SLEEP_HEADER_
    00018
    00019 #include <log4cplus/config.h>
    00020
    00021
    00022 namespace log4cplus {
    00023     namespace helpers {
    00024         LOG4CPLUS_EXPORT void sleep(unsigned long secs,
    00025                                     unsigned long nanosecs = 0);
    00026         LOG4CPLUS_EXPORT void sleepmillis(unsigned long millis);
    00027     } // end namespace helpers
    00028 } // end namespace log4cplus
    00029
    00030 #endif // _LOG4CPLUS_HELPERS_SLEEP_HEADER_
    00031