Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magoo-magoo/timerfunction
Timer Function class in C++
https://github.com/magoo-magoo/timerfunction
Last synced: about 2 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-19T23:35:40.000Z (almost 10 years ago)
- Last Synced: 2024-04-24T10:16:25.060Z (8 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