Design Pattern Examples
Overview of object-oriented design patterns
helpers/sleep.h File Reference

Declaration of the sleep() function, for sleeping for a number of milliseconds. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __SLEEP_H__
 

Functions

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

Detailed Description

Declaration of the sleep() function, for sleeping for a number of milliseconds.

Definition in file helpers/sleep.h.

Macro Definition Documentation

◆ __SLEEP_H__

#define __SLEEP_H__

Definition at line 7 of file helpers/sleep.h.

Function Documentation

◆ sleep()

void sleep ( int  milliseconds)

Sleep for the specified number of milliseconds. Does not return until after the sleep period.

Parameters
millisecondsNumber of milliseconds to sleep.

Definition at line 21 of file sleep.c.

References sleep().

Referenced by Flyweight_Exercise(), and sleep().