https://github.com/magoo-magoo/timerfunction
Timer Function class in C++
https://github.com/magoo-magoo/timerfunction
Last synced: 4 months ago
JSON representation
Timer Function class in C++
- Host: GitHub
- URL: https://github.com/magoo-magoo/timerfunction
- Owner: magoo-magoo
- License: mit
- Created: 2015-02-19T23:30:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-19T23:35:40.000Z (over 10 years ago)
- Last Synced: 2025-01-06T19:26:17.231Z (6 months ago)
- Language: C++
- Size: 91.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TimerFunction
TimerFunction class in C++After start(), executes a fonction with a `void (void)` signature and sleep fo n milliseconds till TimerFunction object is destroyed or stop() called.
To compile:
clang++ -std=c++11 -Wall -W main.cpp -o exec -pthread