Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

tsleep.cpp File Reference

#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "tsleep.h"

Functions

void tsleep (unsigned32 nMilliSeconds)
 Sleep a specified number of milliseconds. More...


Function Documentation

void tsleep unsigned32    nMilliSeconds
 

Sleep a specified number of milliseconds.

Sleeps for the specified number of milliseconds. Note that the amount of time slept is within about 10 milliseconds, usually under.

So if you request 100ms, the system may only sleep for 91ms.

There are 1000 milliseconds in a second.

Parameters:
nMilliSeconds  The number of milliseconds you want to sleep.


Generated on Thu Nov 8 12:39:26 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001