Sleep.cc File Reference

Implementation of three sleep functions. Avoids including windows.h. More...

#include "Sleep.h"
#include "Debug.h"
#include <unistd.h>

Namespaces

namespace  orxonox

Functions

void orxonox::msleep (unsigned long milliseconds)
 Makes the thread sleep for a few milliseconds.
void orxonox::sleep (unsigned long seconds)
 Makes the thread sleep for a few seconds.
void orxonox::usleep (unsigned long microseconds)
 Makes the thread sleep for a few microseconds.


Detailed Description

Implementation of three sleep functions. Avoids including windows.h.


Generated on Tue Jul 28 16:21:11 2009 for Orxonox by  doxygen 1.5.6