Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sleeptools.h File Reference


Detailed Description

Sleep for a specified amount of time.

Note that the standard Unix sleep() may be interrupted for a number of reasons. These routines will retry sleep() until the desired condition is reached.

#include <time.h>

Go to the source code of this file.

Functions

void sleep_until (time_t stoptime)
 Sleep until a specific time.
void sleep_for (time_t interval)
 Sleep for a specific interval of time.


Function Documentation

void sleep_until time_t  stoptime  ) 
 

Sleep until a specific time.

Parameters:
stoptime The absolute time to wait for.

void sleep_for time_t  interval  ) 
 

Sleep for a specific interval of time.

Parameters:
interval The number of seconds to wait.


Generated on Thu Jul 23 09:27:06 2009 for cctools by  doxygen 1.3.9.1