Created
December 3, 2012 14:54
-
-
Save adurpas/4195466 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ISU laboratory session #8, exercise #1. | |
| #include <osapi/Utility.hpp> | |
| #include <unistd.h> | |
| namespace osapi | |
| { | |
| void sleep(unsigned long msecs) | |
| { | |
| usleep(msecs * 1000); //Converts miliseconds to seconds | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment