Design Pattern Examples
Overview of object-oriented design patterns
sleep.cpp File Reference

Implementation of the sleep function, for sleeping for a number of milliseconds. More...

#include <chrono>
#include <thread>
#include "sleep.h"
Include dependency graph for sleep.cpp:

Go to the source code of this file.

Namespaces

namespace  Helpers
 The namespace containing all the "helper" functions in the C++ code.
 

Functions

void sleep (int milliseconds)
 Sleep for the specified number of milliseconds. Does not return until after the sleep period.
 

Detailed Description

Implementation of the sleep function, for sleeping for a number of milliseconds.

Definition in file sleep.cpp.