cctools
sleeptools.h
Go to the documentation of this file.
1/*
2Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3Copyright (C) 2022 The University of Notre Dame
4This software is distributed under the GNU General Public License.
5See the file COPYING for details.
6*/
7
8#ifndef SLEEPTOOLS_H
9#define SLEEPTOOLS_H
10
11#include <time.h>
12
22void sleep_until(time_t stoptime);
23
27void sleep_for(time_t interval);
28
29#endif
void sleep_for(time_t interval)
Sleep for a specific interval of time.
void sleep_until(time_t stoptime)
Sleep until a specific time.