Orxonox: src/util/Sleep.cc File Reference

# 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.